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: Fixes check for health check room.

damenchoa411b7c96943
diff --git a/resources/prosody-plugins/mod_muc_meeting_id.lua b/resources/prosody-plugins/mod_muc_meeting_id.lua
index 4dddf1cfc7..d8e5ca8132 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._data.jicofo_lock == false or is_healthcheck_room(stanza.attr.from) then
+ if room._data.jicofo_lock == false or is_healthcheck_room(room.jid) then
return;
end
diff --git a/resources/prosody-plugins/mod_muc_wait_for_host.lua b/resources/prosody-plugins/mod_muc_wait_for_host.lua
index df405a90f2..a4ca1ca053 100644
--- a/resources/prosody-plugins/mod_muc_wait_for_host.lua
+++ b/resources/prosody-plugins/mod_muc_wait_for_host.lua
@@ -47,7 +47,7 @@ module:hook('muc-occupant-pre-join', function (event)
-- we ignore jicofo as we want it to join the room or if the room has already seen its
-- authenticated host
- if is_admin(occupant.bare_jid) or room.has_host then
+ if is_admin(occupant.bare_jid) or is_healthcheck_room(room.jid) or room.has_host then
return;
end