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