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: jicofo_lock is null when restored from storage (#13517)
Hayato Shimizu5ce2bef5564b
diff --git a/resources/prosody-plugins/mod_muc_meeting_id.lua b/resources/prosody-plugins/mod_muc_meeting_id.luaindex 3cffcb1396..4dddf1cfc7 100644--- a/resources/prosody-plugins/mod_muc_meeting_id.lua+++ b/resources/prosody-plugins/mod_muc_meeting_id.lua@@ -81,7 +81,7 @@ module:hook('muc-occupant-pre-join', function (event)local room, stanza = event.room, event.stanza;-- we skip processing only if jicofo_lock is set to false- if room.jicofo_lock == false or is_healthcheck_room(stanza.attr.from) then+ if room._data.jicofo_lock == false or is_healthcheck_room(stanza.attr.from) thenreturn;end@@ -89,7 +89,7 @@ module:hook('muc-occupant-pre-join', function (event)if ends_with(occupant.nick, '/focus') thenmodule:fire_event('jicofo-unlock-room', { room = room; });else- room.jicofo_lock = true;+ room._data.jicofo_lock = true;if not room.pre_join_queue thenroom.pre_join_queue = queue.new(QUEUE_MAX_SIZE);end@@ -108,7 +108,7 @@ end, 8); -- just after the rate limitfunction handle_jicofo_unlock(event)local room = event.room;- room.jicofo_lock = false;+ room._data.jicofo_lock = false;if not room.pre_join_queue thenreturn;end