mirror of
https://github.com/vector-im/element-call.git
synced 2026-04-06 07:20:25 +00:00
Update src/analytics/PosthogEvents.ts
Co-authored-by: Robin <robin@robin.town>
This commit is contained in:
@@ -223,7 +223,7 @@ export class CallConnectDurationTracker {
|
||||
public track(options = { log: false }): void {
|
||||
const now = Date.now();
|
||||
const totalDuration = now - this.connectStart;
|
||||
const websockedDuration = this.websocketConnected - this.connectStart;
|
||||
const websocketDuration = this.websocketConnected - this.connectStart;
|
||||
const peerConnectionDuration = now - this.websocketConnected;
|
||||
PosthogAnalytics.instance.trackEvent<CallConnectDuration>({
|
||||
eventName: "CallConnectDuration",
|
||||
|
||||
Reference in New Issue
Block a user