Load mod_muc_hide_all manually. (#2077)

This commit is contained in:
bgrozev
2025-04-17 08:06:16 -05:00
committed by GitHub
parent 6cf0d656bd
commit 24635a6380

View File

@@ -301,6 +301,7 @@ Component "{{ $XMPP_MUC_DOMAIN }}" "muc"
restrict_room_creation = true restrict_room_creation = true
storage = "memory" storage = "memory"
modules_enabled = { modules_enabled = {
"muc_hide_all";
"muc_meeting_id"; "muc_meeting_id";
{{ if .Env.XMPP_MUC_MODULES -}} {{ if .Env.XMPP_MUC_MODULES -}}
"{{ join "\";\n \"" (splitList "," .Env.XMPP_MUC_MODULES | compact) }}"; "{{ join "\";\n \"" (splitList "," .Env.XMPP_MUC_MODULES | compact) }}";
@@ -426,6 +427,7 @@ Component "lobby.{{ $XMPP_DOMAIN }}" "muc"
muc_max_occupants = "{{ .Env.MAX_PARTICIPANTS }}" muc_max_occupants = "{{ .Env.MAX_PARTICIPANTS }}"
{{- end }} {{- end }}
modules_enabled = { modules_enabled = {
"muc_hide_all";
{{- if $ENABLE_RATE_LIMITS }} {{- if $ENABLE_RATE_LIMITS }}
"muc_rate_limit"; "muc_rate_limit";
{{- end }} {{- end }}
@@ -449,6 +451,7 @@ Component "breakout.{{ $XMPP_DOMAIN }}" "muc"
muc_tombstones = false muc_tombstones = false
muc_room_allow_persistent = false muc_room_allow_persistent = false
modules_enabled = { modules_enabled = {
"muc_hide_all";
"muc_meeting_id"; "muc_meeting_id";
{{ if not $DISABLE_POLLS -}} {{ if not $DISABLE_POLLS -}}
"polls"; "polls";