Update conference.js
This commit is contained in:
parent
d97ed17052
commit
05ae9134a8
|
@ -422,19 +422,6 @@ class ConferenceConnector {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sends statistics from APP.tokenData
|
||||
*/
|
||||
function sendTokenDataStats() {
|
||||
let {server, group} = APP.tokenData;
|
||||
if(server) {
|
||||
APP.conference.logEvent("server." + server, 1);
|
||||
}
|
||||
if(group) {
|
||||
APP.conference.logEvent("group", group);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Disconnects the connection.
|
||||
* @returns resolved Promise. We need this in order to make the Promise.all
|
||||
|
@ -515,7 +502,6 @@ export default {
|
|||
return JitsiMeetJS.init(config)
|
||||
.then(() => {
|
||||
setAnalyticsPermanentProperties();
|
||||
sendTokenDataStats();
|
||||
return createInitialLocalTracksAndConnect(options.roomName);
|
||||
}).then(([tracks, con]) => {
|
||||
console.log('initialized with %s local tracks', tracks.length);
|
||||
|
|
Loading…
Reference in New Issue