mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
fix(visitors): Skips a log if room is being destroyed.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user