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: Fixes visitors component.
damenchoaa9bd8c814ce
diff --git a/resources/prosody-plugins/mod_visitors_component.lua b/resources/prosody-plugins/mod_visitors_component.luaindex 1a0f483372..59ae1c0d1a 100644--- a/resources/prosody-plugins/mod_visitors_component.lua+++ b/resources/prosody-plugins/mod_visitors_component.lua@@ -344,16 +344,15 @@ process_host_module(muc_domain_prefix..'.'..muc_domain_base, function(host_modulsession.send(st.error_reply(stanza, 'cancel', 'not-allowed', 'Visitor needs to be allowed by a moderator'):tag('promotion-not-allowed', { xmlns = 'jitsi:visitors' }));return true;- else--- if is_vpaas(room) then--- -- special case for vpaas where if someone with a visitor token tries to join a room, where--- -- there are no visitors yet, we deny access--- if session.jitsi_meet_context_user and session.jitsi_meet_context_user.role == 'visitor' then+ elseif is_vpaas(room) then+ -- special case for vpaas where if someone with a visitor token tries to join a room, where+ -- there are no visitors yet, we deny access+ if session.jitsi_meet_context_user and session.jitsi_meet_context_user.role == 'visitor' thensession.log('warn', 'Deny user join as visitor in the main meeting, not approved');session.send(st.error_reply(stanza, 'cancel', 'not-allowed', 'Visitor tried to join the main room without approval'):tag('no-main-participants', { xmlns = 'jitsi:visitors' }));--- end+ endendend, 7); -- after muc_meeting_id, the logic for not joining before jicofo