Update conference.js

This commit is contained in:
Emil Ivov 2016-10-18 15:15:47 -05:00 committed by GitHub
parent d97ed17052
commit 05ae9134a8
1 changed files with 0 additions and 14 deletions

View File

@ -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);