Parcourir la source

Fixes issue with muc join

dev1
hristoterezov il y a 9 ans
Parent
révision
6d51afe200
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 3
    2
      modules/xmpp/ChatRoom.js

+ 3
- 2
modules/xmpp/ChatRoom.js Voir le fichier

@@ -117,8 +117,9 @@ ChatRoom.prototype.join = function (password) {
117 117
     if(password)
118 118
         this.password = password;
119 119
     var self = this;
120
-    this.moderator.allocateConferenceFocus(function () {});
121
-    self.sendPresence(true);
120
+    this.moderator.allocateConferenceFocus(function () {
121
+        self.sendPresence(true);
122
+    });
122 123
 };
123 124
 
124 125
 ChatRoom.prototype.sendPresence = function (fromJoin) {

Chargement…
Annuler
Enregistrer