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 checking if a user is in a room
Saúl Ibarra Corretgé00a74ca47ab5
diff --git a/resources/prosody-plugins/mod_muc_breakout_rooms.lua b/resources/prosody-plugins/mod_muc_breakout_rooms.luaindex 7d998ebe95..fa3f0a4b0a 100644--- a/resources/prosody-plugins/mod_muc_breakout_rooms.lua+++ b/resources/prosody-plugins/mod_muc_breakout_rooms.lua@@ -263,9 +263,11 @@ function on_message(event)-- Check if the participant is in any breakout room.for breakout_room_jid in pairs(room._data.breakout_rooms or {}) dolocal breakout_room = breakout_rooms_muc_service.get_room_from_jid(breakout_room_jid);- occupant = breakout_room:get_occupant_by_real_jid(from);- if occupant then- break;+ if breakout_room then+ occupant = breakout_room:get_occupant_by_real_jid(from);+ if occupant then+ break;+ endendendif not occupant then