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(visitors): Drops not-used messages.
damenchoaa8bb55f3ecb
diff --git a/resources/prosody-plugins/mod_visitors_component.lua b/resources/prosody-plugins/mod_visitors_component.luaindex ed00ad1f55..705ead87b4 100644--- a/resources/prosody-plugins/mod_visitors_component.lua+++ b/resources/prosody-plugins/mod_visitors_component.lua@@ -397,20 +397,6 @@ process_host_module(muc_domain_prefix..'.'..muc_domain_base, function(host_modulreturn false;end- -- let's forward to every moderator, this is so they now that this moderator- -- took action and they can update UI, as this msg was initially a group chat but we are- -- sending it now as provide chat, let's change the type- stanza.attr.type = 'chat'; -- it is safe as we are not using this stanza instance anymore- for _, room_occupant in room:each_occupant() do- -- if moderator send the message- if room_occupant.role == 'moderator'- and room_occupant.jid ~= occupant.jid- and not is_admin(room_occupant.bare_jid) then- stanza.attr.to = room_occupant.nick;- room:route_stanza(stanza);- end- end-if data.id thenprocess_promotion_response(room, data.id, data.approved and 'true' or 'false');else