Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(breakout-rooms) fix race condition in timer handling
Esra Hatice YILMAZ09c085477907
diff --git a/resources/prosody-plugins/mod_muc_breakout_rooms.lua b/resources/prosody-plugins/mod_muc_breakout_rooms.luaindex 7723b4b9dc..a407b3b94d 100644--- a/resources/prosody-plugins/mod_muc_breakout_rooms.lua+++ b/resources/prosody-plugins/mod_muc_breakout_rooms.lua@@ -362,11 +362,11 @@ function on_occupant_joined(event)return;end- local main_room = get_main_room(room.jid);+ local main_room, main_room_jid = get_main_room(room.jid);if main_room and main_room._data.breakout_rooms_active thenif jid_node(event.occupant.jid) ~= 'focus' then- broadcast_breakout_rooms(room.jid);+ broadcast_breakout_rooms(main_room_jid);end-- Prevent closing all rooms if a participant has joined (see on_occupant_left).@@ -411,14 +411,14 @@ function on_occupant_left(event)return;end- local main_room = get_main_room(room_jid);+ local main_room, main_room_jid = get_main_room(room_jid);if not main_room thenreturn;endif main_room._data.breakout_rooms_active and jid_node(event.occupant.jid) ~= 'focus' then- broadcast_breakout_rooms(room_jid);+ broadcast_breakout_rooms(main_room_jid);end-- Close the conference if all left for good.