Przeglądaj źródła

Fixes authentication issues.

j8
hristoterezov 10 lat temu
rodzic
commit
98d1ca8505
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1
    1
      modules/UI/toolbars/Toolbar.js
  2. 1
    1
      modules/xmpp/xmpp.js

+ 1
- 1
modules/UI/toolbars/Toolbar.js Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 &&

Ładowanie…
Anuluj
Zapisz