瀏覽代碼

Add private message handler for breakout_rooms

Add the _onPrivateMessage handler when breakout_rooms is found in disco info.
dev1
steve-vsee 3 年之前
父節點
當前提交
a336f67006
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      modules/xmpp/xmpp.js

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

463
 
463
 
464
         if (this.avModerationComponentAddress
464
         if (this.avModerationComponentAddress
465
             || this.speakerStatsComponentAddress
465
             || this.speakerStatsComponentAddress
466
-            || this.conferenceDurationComponentAddress) {
466
+            || this.conferenceDurationComponentAddress
467
+            || this.breakoutRoomsComponentAddress) {
467
             this.connection.addHandler(this._onPrivateMessage.bind(this), null, 'message', null, null);
468
             this.connection.addHandler(this._onPrivateMessage.bind(this), null, 'message', null, null);
468
         }
469
         }
469
     }
470
     }

Loading…
取消
儲存