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(prosody): Skips printing errors for reactions from visitors.

damenchof903a7ae6efe
diff --git a/resources/prosody-plugins/mod_muc_meeting_id.lua b/resources/prosody-plugins/mod_muc_meeting_id.lua
index 6e8b7f8746..4a7554a28c 100644
--- a/resources/prosody-plugins/mod_muc_meeting_id.lua
+++ b/resources/prosody-plugins/mod_muc_meeting_id.lua
@@ -182,7 +182,10 @@ local function filterTranscriptionResult(event)
local occupant_jid = stanza.attr.from;
local occupant = room:get_occupant_by_real_jid(occupant_jid);
if not occupant then
- module:log("error", "Occupant sending msg %s was not found in room %s", occupant_jid, room.jid)
+ -- skip logs for messages coming from s2s
+ if event.origin.type == 'c2s' then
+ module:log("error", "Occupant sending msg %s was not found in room %s", occupant_jid, room.jid);
+ end
return;
end