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(cleanup_backend): Avoids cleanup when breakout rooms are active.

damenchoae256b23b8ef
diff --git a/resources/prosody-plugins/mod_muc_cleanup_backend_services.lua b/resources/prosody-plugins/mod_muc_cleanup_backend_services.lua
index e9bc601fa5..94e0a282c6 100644
--- a/resources/prosody-plugins/mod_muc_cleanup_backend_services.lua
+++ b/resources/prosody-plugins/mod_muc_cleanup_backend_services.lua
@@ -26,7 +26,8 @@ end, -100); -- make sure we are last in the chain
module:hook('muc-occupant-left', function (event)
local occupant, room = event.occupant, event.room;
- if is_admin(occupant.bare_jid) or is_jibri(occupant.jid) or is_transcriber(occupant.jid) then
+ if is_admin(occupant.bare_jid) or is_jibri(occupant.jid) or is_transcriber(occupant.jid)
+ or room._data.breakout_rooms_active then
return;
end