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(visitors): A join case with live rooms.
damenchoadbe99086750
diff --git a/resources/prosody-plugins/mod_visitors_component.lua b/resources/prosody-plugins/mod_visitors_component.luaindex d5c3b3c9e2..5528b23ee6 100644--- a/resources/prosody-plugins/mod_visitors_component.lua+++ b/resources/prosody-plugins/mod_visitors_component.lua@@ -558,13 +558,14 @@ process_host_module(muc_domain_prefix..'.'..muc_domain_base, function(host_modul:tag('no-main-participants', { xmlns = 'jitsi:visitors' }));return true;end- elseif is_live == false and room._data.participants then- -- This is non jaas room which is not live and has a list of participants- -- allowed to participate in the main room, but this participant is not one of them+ elseif room._data.participants then+ -- This is non jaas room which has a list of participants allowed to participate in the main room+ -- but this occupant is not one of them and the room is either not live or has no participants joinedsession.log('warn','Deny user join in the main not live meeting, not in the list of main participants');session.send(st.error_reply(- stanza, 'cancel', 'not-allowed', 'Tried to join the main (not live) room')+ stanza, 'cancel', 'not-allowed',+ 'Tried to join the main (not live or without main participants) room'):tag('not-live-room', { xmlns = 'jitsi:visitors' }));return true;end