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: Drop events if conn is closed while waiting for jicofo.
Дамян Минков322d846bd9e5
diff --git a/resources/prosody-plugins/mod_muc_meeting_id.lua b/resources/prosody-plugins/mod_muc_meeting_id.luaindex 2eec5a4a1b..3cffcb1396 100644--- a/resources/prosody-plugins/mod_muc_meeting_id.lua+++ b/resources/prosody-plugins/mod_muc_meeting_id.lua@@ -115,8 +115,11 @@ function handle_jicofo_unlock(event)-- and now let's handle all pre_join_queue eventsfor _, ev in room.pre_join_queue:items() do- module:log('debug', 'Occupant processed from queue %s', ev.occupant.nick);- room:handle_normal_presence(ev.origin, ev.stanza);+ -- if the connection was closed while waiting in the queue, ignore+ if ev.origin.conn then+ module:log('debug', 'Occupant processed from queue %s', ev.occupant.nick);+ room:handle_normal_presence(ev.origin, ev.stanza);+ endendroom.pre_join_queue = nil;end