Просмотр исходного кода

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

Always saves password as we can make several room join attempts.
dev1
yanas 9 лет назад
Родитель
Сommit
4e3bf82bf4
1 измененных файлов: 1 добавлений и 2 удалений
  1. 1
    2
      modules/xmpp/ChatRoom.js

+ 1
- 2
modules/xmpp/ChatRoom.js Просмотреть файл

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

Загрузка…
Отмена
Сохранить