Browse Source

Add private message handler for breakout_rooms

Add the _onPrivateMessage handler when breakout_rooms is found in disco info.
dev1
steve-vsee 3 years ago
parent
commit
a336f67006
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      modules/xmpp/xmpp.js

+ 2
- 1
modules/xmpp/xmpp.js View File

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…
Cancel
Save