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
fix: Fixes sending metadata to jicofo.
damenchof1a0012fc147
diff --git a/resources/prosody-plugins/mod_room_metadata_component.lua b/resources/prosody-plugins/mod_room_metadata_component.luaindex 34c677317d..a6d7f578db 100644--- a/resources/prosody-plugins/mod_room_metadata_component.lua+++ b/resources/prosody-plugins/mod_room_metadata_component.lua@@ -261,6 +261,17 @@ function process_main_muc_loaded(main_muc, host_module)host_module:fire_event('room-metadata-changed', { room = room; });endend);++ -- The the connection jid for authenticated users (like jicofo) stays the same,+ -- so leaving and re-joining will result not sending metatadata again.+ -- Make sure we clear the sent_initial_metadata entry for the occupant on leave.+ host_module:hook("muc-occupant-left", function(event)+ local room, occupant = event.room, event.occupant;++ if room.sent_initial_metadata then+ room.sent_initial_metadata[jid.bare(event.occupant.jid)] = nil;+ end+ end);end-- process or waits to process the main muc component