Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix: Fixes the user ID read from JWT. (#2366)

bgrozev259004b8bfba
diff --git a/react/features/analytics/functions.js b/react/features/analytics/functions.js
index 440f9d60bf..ef737f96cf 100644
--- a/react/features/analytics/functions.js
+++ b/react/features/analytics/functions.js
@@ -45,7 +45,7 @@ export function initAnalytics({ getState }: { getState: Function }) {
envType: (deploymentInfo && deploymentInfo.envType) || 'dev',
group,
subproduct: deploymentInfo && deploymentInfo.environment,
- user,
+ user: user && user.id,
version: JitsiMeetJS.version
};