Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat: Adds indication for visitors messages to event.

damenchob106c20fa2e8
diff --git a/resources/prosody-plugins/mod_visitors.lua b/resources/prosody-plugins/mod_visitors.lua
index 124a5f2e23..c8ca49f78c 100644
--- a/resources/prosody-plugins/mod_visitors.lua
+++ b/resources/prosody-plugins/mod_visitors.lua
@@ -318,7 +318,7 @@ process_host_module(main_muc_component_config, function(host_module, host)
room:route_to_occupant(o, stanza);
end
-- let's add the message to the history of the room
- host_module:fire_event("muc-add-history", { room = room; stanza = stanza; });
+ host_module:fire_event("muc-add-history", { room = room; stanza = stanza; from = from; visitor = true; });
-- now we need to send to rest of visitor nodes
local vnodes = visitors_nodes[room.jid].nodes;