Skip to content

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

fix(visitors): Skips a log if room is being destroyed.

damencho15ba1bb280a2
diff --git a/resources/prosody-plugins/mod_fmuc.lua b/resources/prosody-plugins/mod_fmuc.lua
index 3c49f0a068..92fd6f1183 100644
--- a/resources/prosody-plugins/mod_fmuc.lua
+++ b/resources/prosody-plugins/mod_fmuc.lua
@@ -232,7 +232,9 @@ module:hook('muc-occupant-left', function (event)
if prosody.hosts[occupant_domain] and not is_admin(occupant.bare_jid) then
local focus_occupant = get_focus_occupant(room);
if not focus_occupant then
- module:log('info', 'No focus found for %s', room.jid);
+ if not room.destroying then
+ module:log('warn', 'No focus found for %s', room.jid);
+ end
return;
end
-- Let's forward unavailable presence to the special jicofo