diff --git a/assets/public/politictalk/background_pt.png b/assets/public/politictalk/background_pt.png new file mode 100644 index 0000000..cfc8b5e Binary files /dev/null and b/assets/public/politictalk/background_pt.png differ diff --git a/assets/public/politictalk/branding.json b/assets/public/politictalk/branding.json index d27cb71..bfe85c7 100644 --- a/assets/public/politictalk/branding.json +++ b/assets/public/politictalk/branding.json @@ -1,10 +1,11 @@ { "inviteDomain": "politictalk.parallelglobe.io", "backgroundColor": "#101820", + "backgroundImageUrl": "/images/politictalk/background_pt.png", "pollCreationRequiresPermission": true, "logoClickUrl": "https://parallelglobe.io/politictalk", "logoImageUrl": "/images/politictalk/pgLogo.svg", - "premeetingBackground": "url(/images/politictalk/pg_bg.png)", + "premeetingBackground": "url(/images/politictalk/background_pt.png)", "customTheme": { "palette": { "ui01": "#101820", diff --git a/prosody-plugins/mod_politictalk_roles.lua b/prosody-plugins/mod_politictalk_roles.lua index 6aeb942..9d0471d 100644 --- a/prosody-plugins/mod_politictalk_roles.lua +++ b/prosody-plugins/mod_politictalk_roles.lua @@ -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 diff --git a/web/plugin.head.html b/web/plugin.head.html index b2d51de..2999541 100644 --- a/web/plugin.head.html +++ b/web/plugin.head.html @@ -1,4 +1,24 @@