-- Send occupant list to newly joined user
self:send_occupant_list(real_jid, function(nick, occupant) -- luacheck: ignore 212
-- Don't include self
-- Send occupant list to newly joined user
self:send_occupant_list(real_jid, function(nick, occupant) -- luacheck: ignore 212
-- Don't include self
if is_first_dest_session then
module:fire_event("muc-occupant-joined", {
room = self;
if is_first_dest_session then
module:fire_event("muc-occupant-joined", {
room = self;