Pārlūkot izejas kodu

Fixes authentication issues.

j8
hristoterezov 10 gadus atpakaļ
vecāks
revīzija
98d1ca8505
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1
    1
      modules/UI/toolbars/Toolbar.js
  2. 1
    1
      modules/xmpp/xmpp.js

+ 1
- 1
modules/UI/toolbars/Toolbar.js Parādīt failu

@@ -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 Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt