|
@@ -287,14 +287,17 @@ JitsiConference.prototype._init = function(options = {}) {
|
287
|
287
|
const { config } = this.options;
|
288
|
288
|
const statsCurrentId = config.enableEmailInStats && config.email
|
289
|
289
|
? config.email : Settings.callStatsUserName;
|
|
290
|
+ const createRoomOptions = {
|
|
291
|
+ ...config
|
|
292
|
+ };
|
290
|
293
|
|
291
|
294
|
if (config.enableStatsID) {
|
292
|
|
- config.statsId = statsCurrentId;
|
|
295
|
+ createRoomOptions.statsId = statsCurrentId;
|
293
|
296
|
}
|
294
|
297
|
|
295
|
298
|
this.room = this.xmpp.createRoom(
|
296
|
299
|
this.options.name,
|
297
|
|
- config,
|
|
300
|
+ createRoomOptions,
|
298
|
301
|
JitsiConference.resourceCreator
|
299
|
302
|
);
|
300
|
303
|
|
|
@@ -380,9 +383,7 @@ JitsiConference.prototype._init = function(options = {}) {
|
380
|
383
|
getWiFiStatsMethod: config.getWiFiStatsMethod
|
381
|
384
|
});
|
382
|
385
|
Statistics.analytics.addPermanentProperties({
|
383
|
|
- 'callstats_name': aliasName,
|
384
|
|
- 'user_agent': navigator.userAgent,
|
385
|
|
- 'browser_name': browser.getName()
|
|
386
|
+ 'callstats_name': aliasName
|
386
|
387
|
});
|
387
|
388
|
}
|
388
|
389
|
|