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(visitors): Fixes filtering initial msgs to main participants.

damencho53960baf7690
diff --git a/resources/prosody-plugins/mod_fmuc.lua b/resources/prosody-plugins/mod_fmuc.lua
index 4ed41cbf18..4e210bef46 100644
--- a/resources/prosody-plugins/mod_fmuc.lua
+++ b/resources/prosody-plugins/mod_fmuc.lua
@@ -502,7 +502,7 @@ function route_s2s_stanza(event)
end
if stanza.name == 'message' then
- if jid.resource(stanza.to) then
+ if jid.resource(stanza.attr.to) then
-- there is no point of delivering messages to main participants individually
return true; -- drop it
end