mirror of
https://github.com/vector-im/element-call.git
synced 2026-09-13 21:59:30 +00:00
Update src/analytics/PosthogEvents.ts
Co-authored-by: Robin <robin@robin.town>
This commit is contained in:
@@ -228,7 +228,7 @@ export class CallConnectDurationTracker {
|
|||||||
PosthogAnalytics.instance.trackEvent<CallConnectDuration>({
|
PosthogAnalytics.instance.trackEvent<CallConnectDuration>({
|
||||||
eventName: "CallConnectDuration",
|
eventName: "CallConnectDuration",
|
||||||
totalDuration,
|
totalDuration,
|
||||||
websockedDuration: this.websocketConnected - this.connectStart,
|
websocketDuration: this.websocketConnected - this.connectStart,
|
||||||
peerConnectionDuration: Date.now() - this.websocketConnected,
|
peerConnectionDuration: Date.now() - this.websocketConnected,
|
||||||
});
|
});
|
||||||
if (options.log)
|
if (options.log)
|
||||||
|
|||||||
Reference in New Issue
Block a user