Skip to content

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

chore(replace-participant) Send `readyToClose` event when a replaced participant is kicked

hmuresan38b14c5d6254
diff --git a/conference.js b/conference.js
index d1f70e4e11..7d0fe81d8c 100644
--- a/conference.js
+++ b/conference.js
@@ -2186,6 +2186,10 @@ export default {
id: localParticipant.id,
isReplaced
}));
+
+ // we send readyToClose when kicked participant is replace so that
+ // embedding app can choose to dispose the iframe API on the handler.
+ APP.API.notifyReadyToClose();
}
APP.store.dispatch(kickedOut(room, participant));
});