Skip to content

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

leave the room if focus left

isymchychc027050e11a5
diff --git a/conference.js b/conference.js
index 75d0308e3c..305be4923d 100644
--- a/conference.js
+++ b/conference.js
@@ -228,6 +228,7 @@ class ConferenceConnector {
break;
case ConferenceErrors.FOCUS_LEFT:
+ room.leave().then(() => connection.disconnect());
APP.UI.notifyFocusLeft();
break;