Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(conference): leave the room when XMPP connection is dropped

paweldomasd60146c6a829
diff --git a/conference.js b/conference.js
index b10f6c5569..9311bbe81b 100644
--- a/conference.js
+++ b/conference.js
@@ -566,6 +566,10 @@ export default {
APP.UI.showPageReloadOverlay();
connection.removeEventListener(
ConnectionEvents.CONNECTION_FAILED, handler);
+ // FIXME it feels like the conference should be stopped
+ // by lib-jitsi-meet
+ if (room)
+ room.leave();
}
};
connection.addEventListener(