瀏覽代碼

Merge pull request #250 from jitsi/updates-lock-room

Always saves password as we can make several room join attempts.
dev1
yanas 9 年之前
父節點
當前提交
4e3bf82bf4
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1
    2
      modules/xmpp/ChatRoom.js

+ 1
- 2
modules/xmpp/ChatRoom.js 查看文件

124
 };
124
 };
125
 
125
 
126
 ChatRoom.prototype.join = function (password) {
126
 ChatRoom.prototype.join = function (password) {
127
-    if(password)
128
-        this.password = password;
127
+    this.password = password;
129
     var self = this;
128
     var self = this;
130
     this.moderator.allocateConferenceFocus(function () {
129
     this.moderator.allocateConferenceFocus(function () {
131
         self.sendPresence(true);
130
         self.sendPresence(true);

Loading…
取消
儲存