Przeglądaj źródła

Partially fix authenticated conference

'this' is the Window, 'self' is the Moderator

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
master
Etienne CHAMPETIER 9 lat temu
rodzic
commit
3980d481b9
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      modules/xmpp/moderator.js

+ 1
- 1
modules/xmpp/moderator.js Wyświetl plik

313
                 var toDomain
313
                 var toDomain
314
                     = Strophe.getDomainFromJid(error.getAttribute('to'));
314
                     = Strophe.getDomainFromJid(error.getAttribute('to'));
315
                 if (toDomain !==
315
                 if (toDomain !==
316
-                    this.xmppService.options.hosts.anonymousdomain) {
316
+                    self.xmppService.options.hosts.anonymousdomain) {
317
                     //FIXME:  "is external" should come either from
317
                     //FIXME:  "is external" should come either from
318
                     // the focus or config.js
318
                     // the focus or config.js
319
                     self.externalAuthEnabled = true;
319
                     self.externalAuthEnabled = true;

Ładowanie…
Anuluj
Zapisz