mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
feat: Adds indication for visitors messages to event.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user