diff --git a/src/frontend/src/features/rooms/livekit/hooks/useConnectionObserver.ts b/src/frontend/src/features/rooms/livekit/hooks/useConnectionObserver.ts index 6042d0db..740ca78c 100644 --- a/src/frontend/src/features/rooms/livekit/hooks/useConnectionObserver.ts +++ b/src/frontend/src/features/rooms/livekit/hooks/useConnectionObserver.ts @@ -18,6 +18,7 @@ export const useConnectionObserver = () => { // total session duration from first connect to final disconnect. if (connectionStartTimeRef.current != null) return connectionStartTimeRef.current = Date.now() + posthog.capture('connection-event') } const handleReconnect = () => {