Parcourir la source

Merge pull request #5 from champtar/auth

Partially fix authenticated conference
dev1
damencho il y a 10 ans
Parent
révision
414f522fc0
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      modules/xmpp/moderator.js

+ 1
- 1
modules/xmpp/moderator.js Voir le fichier

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

Chargement…
Annuler
Enregistrer