|
@@ -101,7 +101,10 @@ import {
|
101
|
101
|
trackAdded,
|
102
|
102
|
trackRemoved
|
103
|
103
|
} from './react/features/base/tracks';
|
104
|
|
-import { getJitsiMeetGlobalNS } from './react/features/base/util';
|
|
104
|
+import {
|
|
105
|
+ getBackendSafePath,
|
|
106
|
+ getJitsiMeetGlobalNS
|
|
107
|
+} from './react/features/base/util';
|
105
|
108
|
import { showDesktopPicker } from './react/features/desktop-picker';
|
106
|
109
|
import { appendSuffix } from './react/features/display-name';
|
107
|
110
|
import { setE2EEKey } from './react/features/e2ee';
|
|
@@ -1364,7 +1367,13 @@ export default {
|
1364
|
1367
|
const options = config;
|
1365
|
1368
|
const { email, name: nick } = getLocalParticipant(APP.store.getState());
|
1366
|
1369
|
|
1367
|
|
- const { locationURL } = APP.store.getState()['features/base/connection'];
|
|
1370
|
+ const state = APP.store.getState();
|
|
1371
|
+ const { locationURL } = state['features/base/connection'];
|
|
1372
|
+ const { tenant } = state['features/base/jwt'];
|
|
1373
|
+
|
|
1374
|
+ if (tenant) {
|
|
1375
|
+ options.siteID = tenant;
|
|
1376
|
+ }
|
1368
|
1377
|
|
1369
|
1378
|
if (options.enableDisplayNameInStats && nick) {
|
1370
|
1379
|
options.statisticsDisplayName = nick;
|
|
@@ -1376,7 +1385,7 @@ export default {
|
1376
|
1385
|
|
1377
|
1386
|
options.applicationName = interfaceConfig.APP_NAME;
|
1378
|
1387
|
options.getWiFiStatsMethod = this._getWiFiStatsMethod;
|
1379
|
|
- options.confID = `${locationURL.host}${locationURL.pathname}`;
|
|
1388
|
+ options.confID = `${locationURL.host}${getBackendSafePath(locationURL.pathname)}`;
|
1380
|
1389
|
options.createVADProcessor = createRnnoiseProcessorPromise;
|
1381
|
1390
|
|
1382
|
1391
|
// Disable CallStats, if requessted.
|