Просмотр исходного кода

Add private message handler for breakout_rooms

Add the _onPrivateMessage handler when breakout_rooms is found in disco info.
tags/v0.0.2
steve-vsee 3 лет назад
Родитель
Сommit
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
     }

Загрузка…
Отмена
Сохранить