Kaynağa Gözat

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

Always saves password as we can make several room join attempts.
dev1
yanas 9 yıl önce
ebeveyn
işleme
4e3bf82bf4
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. 1
    2
      modules/xmpp/ChatRoom.js

+ 1
- 2
modules/xmpp/ChatRoom.js Dosyayı Görüntüle

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

Loading…
İptal
Kaydet