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.
This commit is contained in:
damencho
2023-04-26 08:14:23 -05:00
committed by Дамян Минков
parent 1c27da8053
commit a0a34109ff

View File

@@ -258,6 +258,7 @@ Component "{{ $XMPP_INTERNAL_MUC_DOMAIN }}" "muc"
muc_room_default_public_jids = true muc_room_default_public_jids = true
Component "{{ $XMPP_MUC_DOMAIN }}" "muc" Component "{{ $XMPP_MUC_DOMAIN }}" "muc"
restrict_room_creation = true
storage = "memory" storage = "memory"
modules_enabled = { modules_enabled = {
"muc_meeting_id"; "muc_meeting_id";
@@ -283,6 +284,7 @@ Component "{{ $XMPP_MUC_DOMAIN }}" "muc"
{{ if .Env.MAX_PARTICIPANTS }} {{ if .Env.MAX_PARTICIPANTS }}
"muc_max_occupants"; "muc_max_occupants";
{{ end }} {{ end }}
"muc_password_whitelist";
} }
{{ if $ENABLE_RATE_LIMITS -}} {{ if $ENABLE_RATE_LIMITS -}}
@@ -319,6 +321,9 @@ Component "{{ $XMPP_MUC_DOMAIN }}" "muc"
muc_access_whitelist = { "focus@{{ .Env.XMPP_AUTH_DOMAIN }}" } muc_access_whitelist = { "focus@{{ .Env.XMPP_AUTH_DOMAIN }}" }
muc_max_occupants = "{{ .Env.MAX_PARTICIPANTS }}" muc_max_occupants = "{{ .Env.MAX_PARTICIPANTS }}"
{{ end }} {{ end }}
muc_password_whitelist = {
"focus@{{ .Env.XMPP_AUTH_DOMAIN }}"
}
Component "focus.{{ $XMPP_DOMAIN }}" "client_proxy" Component "focus.{{ $XMPP_DOMAIN }}" "client_proxy"
target_address = "focus@{{ $XMPP_AUTH_DOMAIN }}" target_address = "focus@{{ $XMPP_AUTH_DOMAIN }}"