소스 검색

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,7 +239,7 @@ var Toolbar = (function (my) {
239 239
             // Open popup with authentication URL
240 240
             var authenticationWindow = Authentication.createAuthenticationWindow(function () {
241 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 243
             }, url);
244 244
             if (!authenticationWindow) {
245 245
                 Toolbar.showAuthenticateButton(true);

+ 1
- 1
modules/xmpp/xmpp.js 파일 보기

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

Loading…
취소
저장