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
feat: Adds a nil check for occupants joining as moderators.
damencho8247f478f4f9
diff --git a/resources/prosody-plugins/mod_visitors_component.lua b/resources/prosody-plugins/mod_visitors_component.luaindex 3cb30d8de8..f1a43cee32 100644--- a/resources/prosody-plugins/mod_visitors_component.lua+++ b/resources/prosody-plugins/mod_visitors_component.lua@@ -315,7 +315,8 @@ process_host_module(muc_domain_prefix..'.'..muc_domain_base, function(host_modulhost_module:hook('muc-occupant-joined', function (event)local room, occupant = event.room, event.occupant;- if is_healthcheck_room(room.jid) or is_admin(occupant.bare_jid) or occupant.role ~= 'moderator' then -- luacheck: ignore+ if is_healthcheck_room(room.jid) or is_admin(occupant.bare_jid) or occupant.role ~= 'moderator' -- luacheck: ignore+ or not visitors_promotion_requests[event.room.jid] thenreturn;end