bg
This commit is contained in:
@@ -405,7 +405,7 @@ module:hook("muc-occupant-pre-join", function(event)
|
||||
ensure_room_data(room);
|
||||
local participant_limit = get_participant_limit(session);
|
||||
local active_participant_count = table_count(room._data.politictalk_participant_jids);
|
||||
local active_room_occupancy_count = active_participant_count + get_active_host_count(room);
|
||||
local active_room_occupancy_count = active_participant_count;
|
||||
if
|
||||
participant_limit
|
||||
and active_room_occupancy_count >= participant_limit
|
||||
|
||||
Reference in New Issue
Block a user