瀏覽代碼

fix on-the-fly auth

master
isymchych 9 年之前
父節點
當前提交
e478a73988
共有 1 個檔案被更改,包括 1 行新增7 行删除
  1. 1
    7
      modules/UI/authentication/AuthHandler.js

+ 1
- 7
modules/UI/authentication/AuthHandler.js 查看文件

@@ -69,13 +69,7 @@ function doXmppAuth (room, lockPassword) {
69 69
                     APP.translation.translateString('connection.GOT_SESSION_ID')
70 70
                 );
71 71
 
72
-                if (room.isJoined()) {
73
-                    // just reallocate focus if already joined
74
-                    room.room.moderator.allocateConferenceFocus();
75
-                } else {
76
-                    // or join
77
-                    room.join(lockPassword);
78
-                }
72
+                room.join(lockPassword);
79 73
 
80 74
                 loginDialog.close();
81 75
             }).catch(function (error, code) {

Loading…
取消
儲存