瀏覽代碼

Fixes authentication issues.

j8
hristoterezov 10 年之前
父節點
當前提交
98d1ca8505
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      modules/UI/toolbars/Toolbar.js
  2. 1
    1
      modules/xmpp/xmpp.js

+ 1
- 1
modules/UI/toolbars/Toolbar.js 查看文件

239
             // Open popup with authentication URL
239
             // Open popup with authentication URL
240
             var authenticationWindow = Authentication.createAuthenticationWindow(function () {
240
             var authenticationWindow = Authentication.createAuthenticationWindow(function () {
241
                 // On popup closed - retry room allocation
241
                 // On popup closed - retry room allocation
242
-                xAPP.mpp.allocateConferenceFocus(APP.UI.getRoomName(), APP.UI.checkForNicknameAndJoin);
242
+                APP.xmpp.allocateConferenceFocus(APP.UI.getRoomName(), APP.UI.checkForNicknameAndJoin);
243
             }, url);
243
             }, url);
244
             if (!authenticationWindow) {
244
             if (!authenticationWindow) {
245
                 Toolbar.showAuthenticateButton(true);
245
                 Toolbar.showAuthenticateButton(true);

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

151
         setupEvents();
151
         setupEvents();
152
         initStrophePlugins();
152
         initStrophePlugins();
153
         registerListeners();
153
         registerListeners();
154
-        Moderator.init();
154
+        Moderator.init(this, eventEmitter);
155
         var configDomain = config.hosts.anonymousdomain || config.hosts.domain;
155
         var configDomain = config.hosts.anonymousdomain || config.hosts.domain;
156
         // Force authenticated domain if room is appended with '?login=true'
156
         // Force authenticated domain if room is appended with '?login=true'
157
         if (config.hosts.anonymousdomain &&
157
         if (config.hosts.anonymousdomain &&

Loading…
取消
儲存