mirror of
https://github.com/vector-im/element-call.git
synced 2026-01-30 03:15:55 +00:00
Don't reset analytics ID when leaving calls
We shouldn't be calling PosthogAnalytics.instance.logout() when leaving the call in widget mode, because all this does is reset your analytics ID. In the big picture this is probably inflating our user count metrics.
This commit is contained in:
@@ -156,7 +156,6 @@ const widgetPostHangupProcedure = async (
|
||||
logger.error("Failed to send close action", e);
|
||||
}
|
||||
widget.api.transport.stop();
|
||||
PosthogAnalytics.instance.logout();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user