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(visitors): informs visitor nodes when a participant is kicked. (#13951)
Mehmetfa64e2e67c11
diff --git a/resources/prosody-plugins/mod_visitors.lua b/resources/prosody-plugins/mod_visitors.luaindex b86cb98492..9118d7ba84 100644--- a/resources/prosody-plugins/mod_visitors.lua+++ b/resources/prosody-plugins/mod_visitors.lua@@ -225,7 +225,12 @@ process_host_module(main_muc_component_config, function(host_module, host)return;end- -- we want to update visitor node that a main participant left+ --this is probably participant kick scenario, create an unavailable presence and send to vnodes.+ if not stanza then+ stanza = st.presence {from = occupant.nick; type = "unavailable";};+ end++ -- we want to update visitor node that a main participant left or kicked.if stanza thenlocal vnodes = visitors_nodes[room.jid].nodes;local user, _, res = jid.split(occupant.nick);@@ -235,8 +240,6 @@ process_host_module(main_muc_component_config, function(host_module, host)fmuc_pr.attr.from = occupant.jid;module:send(fmuc_pr);end- else- module:log('warn', 'No unavailable stanza found ... leak participant on visitor');endend);