From a0a34109ff9743108e406d22c2c3ab1161e93470 Mon Sep 17 00:00:00 2001 From: damencho Date: Wed, 26 Apr 2023 08:14:23 -0500 Subject: [PATCH] fix: Allows jicofo entering rooms without requiring a password. The case where the main room is locked and everyone leaves it to a breakout room and then coming back allows jicofo entering without a password. --- prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua b/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua index b60fd56..603f9ec 100644 --- a/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua +++ b/prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua @@ -258,6 +258,7 @@ Component "{{ $XMPP_INTERNAL_MUC_DOMAIN }}" "muc" muc_room_default_public_jids = true Component "{{ $XMPP_MUC_DOMAIN }}" "muc" + restrict_room_creation = true storage = "memory" modules_enabled = { "muc_meeting_id"; @@ -283,6 +284,7 @@ Component "{{ $XMPP_MUC_DOMAIN }}" "muc" {{ if .Env.MAX_PARTICIPANTS }} "muc_max_occupants"; {{ end }} + "muc_password_whitelist"; } {{ if $ENABLE_RATE_LIMITS -}} @@ -319,6 +321,9 @@ Component "{{ $XMPP_MUC_DOMAIN }}" "muc" muc_access_whitelist = { "focus@{{ .Env.XMPP_AUTH_DOMAIN }}" } muc_max_occupants = "{{ .Env.MAX_PARTICIPANTS }}" {{ end }} + muc_password_whitelist = { + "focus@{{ .Env.XMPP_AUTH_DOMAIN }}" + } Component "focus.{{ $XMPP_DOMAIN }}" "client_proxy" target_address = "focus@{{ $XMPP_AUTH_DOMAIN }}"