|
|
|
|
232
|
if prosody.hosts[occupant_domain] and not is_admin(occupant.bare_jid) then
|
232
|
if prosody.hosts[occupant_domain] and not is_admin(occupant.bare_jid) then
|
233
|
local focus_occupant = get_focus_occupant(room);
|
233
|
local focus_occupant = get_focus_occupant(room);
|
234
|
if not focus_occupant then
|
234
|
if not focus_occupant then
|
235
|
- module:log('info', 'No focus found for %s', room.jid);
|
|
|
|
|
235
|
+ if not room.destroying then
|
|
|
236
|
+ module:log('warn', 'No focus found for %s', room.jid);
|
|
|
237
|
+ end
|
236
|
return;
|
238
|
return;
|
237
|
end
|
239
|
end
|
238
|
-- Let's forward unavailable presence to the special jicofo
|
240
|
-- Let's forward unavailable presence to the special jicofo
|