Ver código fonte

Fixes issue with muc join

dev1
hristoterezov 9 anos atrás
pai
commit
6d51afe200
1 arquivos alterados com 3 adições e 2 exclusões
  1. 3
    2
      modules/xmpp/ChatRoom.js

+ 3
- 2
modules/xmpp/ChatRoom.js Ver arquivo

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

Carregando…
Cancelar
Salvar