do not use members module

This commit is contained in:
isymchych
2015-12-03 15:11:01 +02:00
parent 272cfea493
commit 09aa9482c0
13 changed files with 929 additions and 1243 deletions
+3 -5
View File
@@ -109,7 +109,7 @@ var AudioLevels = (function(my) {
drawContext.drawImage(canvasCache, 0, 0);
if(resourceJid === AudioLevels.LOCAL_LEVEL) {
resourceJid = APP.conference.localId();
resourceJid = APP.conference.localId;
if (!resourceJid) {
return;
}
@@ -223,11 +223,9 @@ var AudioLevels = (function(my) {
*/
function getVideoSpanId(resourceJid) {
var videoSpanId = null;
if (resourceJid === AudioLevels.LOCAL_LEVEL ||
(APP.conference.localId() && resourceJid === APP.conference.localId())) {
if (resourceJid === AudioLevels.LOCAL_LEVEL || APP.conference.isLocalId(resourceJid)) {
videoSpanId = 'localVideoContainer';
}
else {
} else {
videoSpanId = 'participant_' + resourceJid;
}