Przeglądaj źródła

fix: Clean up rooms when redirecting to a new one.

master
damencho 2 lat temu
rodzic
commit
a8ef3b7c61
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1
    0
      JitsiConferenceEventManager.js

+ 1
- 0
JitsiConferenceEventManager.js Wyświetl plik

@@ -225,6 +225,7 @@ JitsiConferenceEventManager.prototype.setupChatRoomListeners = function() {
225 225
     this.chatRoomForwarder.forward(XMPPEvents.REDIRECTED,
226 226
         JitsiConferenceEvents.CONFERENCE_FAILED,
227 227
         JitsiConferenceErrors.REDIRECTED);
228
+    chatRoom.addListener(XMPPEvents.REDIRECTED, () => conference.leave());
228 229
 
229 230
     this.chatRoomForwarder.forward(XMPPEvents.BRIDGE_DOWN,
230 231
         JitsiConferenceEvents.CONFERENCE_FAILED,

Ładowanie…
Anuluj
Zapisz