From 259004b8bfba2acfffe6733087ab3892b0b5259e Mon Sep 17 00:00:00 2001 From: bgrozev Date: Mon, 8 Jan 2018 09:27:08 -0800 Subject: [PATCH] fix: Fixes the user ID read from JWT. (#2366) --- react/features/analytics/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/analytics/functions.js b/react/features/analytics/functions.js index 440f9d60b..ef737f96c 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 };