Browse Source

Removes unnecessary logs

dev1
hristoterezov 10 years ago
parent
commit
150c9be041
3 changed files with 9 additions and 15 deletions
  1. 0
    3
      lib-jitsi-meet.js
  2. 9
    9
      lib-jitsi-meet.min.js
  3. 0
    3
      modules/xmpp/ChatRoom.js

+ 0
- 3
lib-jitsi-meet.js View File

6289
 };
6289
 };
6290
 
6290
 
6291
 ChatRoom.prototype.onPresence = function (pres) {
6291
 ChatRoom.prototype.onPresence = function (pres) {
6292
-    console.log(pres);
6293
     var from = pres.getAttribute('from');
6292
     var from = pres.getAttribute('from');
6294
     // Parse roles.
6293
     // Parse roles.
6295
     var member = {};
6294
     var member = {};
6326
                     if (displayName && displayName.length > 0) {
6325
                     if (displayName && displayName.length > 0) {
6327
                         this.eventEmitter.emit(XMPPEvents.DISPLAY_NAME_CHANGED, from, displayName);
6326
                         this.eventEmitter.emit(XMPPEvents.DISPLAY_NAME_CHANGED, from, displayName);
6328
                     }
6327
                     }
6329
-                    logger.info("Display name: " + displayName, pres);
6330
                 }
6328
                 }
6331
                 break;
6329
                 break;
6332
             case "userId":
6330
             case "userId":
6345
                 var jibri = node;
6343
                 var jibri = node;
6346
                 break;
6344
                 break;
6347
             case "call-control":
6345
             case "call-control":
6348
-                console.log(pres);
6349
                 var att = node.attributes;
6346
                 var att = node.attributes;
6350
                 if(!att)
6347
                 if(!att)
6351
                     break;
6348
                     break;

+ 9
- 9
lib-jitsi-meet.min.js
File diff suppressed because it is too large
View File


+ 0
- 3
modules/xmpp/ChatRoom.js View File

195
 };
195
 };
196
 
196
 
197
 ChatRoom.prototype.onPresence = function (pres) {
197
 ChatRoom.prototype.onPresence = function (pres) {
198
-    console.log(pres);
199
     var from = pres.getAttribute('from');
198
     var from = pres.getAttribute('from');
200
     // Parse roles.
199
     // Parse roles.
201
     var member = {};
200
     var member = {};
232
                     if (displayName && displayName.length > 0) {
231
                     if (displayName && displayName.length > 0) {
233
                         this.eventEmitter.emit(XMPPEvents.DISPLAY_NAME_CHANGED, from, displayName);
232
                         this.eventEmitter.emit(XMPPEvents.DISPLAY_NAME_CHANGED, from, displayName);
234
                     }
233
                     }
235
-                    logger.info("Display name: " + displayName, pres);
236
                 }
234
                 }
237
                 break;
235
                 break;
238
             case "userId":
236
             case "userId":
251
                 var jibri = node;
249
                 var jibri = node;
252
                 break;
250
                 break;
253
             case "call-control":
251
             case "call-control":
254
-                console.log(pres);
255
                 var att = node.attributes;
252
                 var att = node.attributes;
256
                 if(!att)
253
                 if(!att)
257
                     break;
254
                     break;

Loading…
Cancel
Save