瀏覽代碼

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 年之前
父節點
當前提交
3980d481b9
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      modules/xmpp/moderator.js

+ 1
- 1
modules/xmpp/moderator.js 查看文件

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

Loading…
取消
儲存