浏览代码

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,7 +463,8 @@ export default class XMPP extends Listenable {
463 463
 
464 464
         if (this.avModerationComponentAddress
465 465
             || this.speakerStatsComponentAddress
466
-            || this.conferenceDurationComponentAddress) {
466
+            || this.conferenceDurationComponentAddress
467
+            || this.breakoutRoomsComponentAddress) {
467 468
             this.connection.addHandler(this._onPrivateMessage.bind(this), null, 'message', null, null);
468 469
         }
469 470
     }

正在加载...
取消
保存