Pārlūkot izejas kodu

Add private message handler for breakout_rooms

Add the _onPrivateMessage handler when breakout_rooms is found in disco info.
dev1
steve-vsee 3 gadus atpakaļ
vecāks
revīzija
a336f67006
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2
    1
      modules/xmpp/xmpp.js

+ 2
- 1
modules/xmpp/xmpp.js Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt