prosody: variables for lobby and breakout modules

This commit is contained in:
Aaron van Meerten 2023-10-09 16:16:15 -05:00 committed by Saúl Ibarra Corretgé
parent a827437fc9
commit cf894ce8f1
2 changed files with 8 additions and 0 deletions

View File

@ -262,12 +262,14 @@ services:
- VISITORS_XMPP_DOMAIN
- VISITORS_XMPP_SERVER
- VISITORS_XMPP_PORT
- XMPP_BREAKOUT_MUC_MODULES
- XMPP_CONFIGURATION
- XMPP_DOMAIN
- XMPP_AUTH_DOMAIN
- XMPP_GUEST_DOMAIN
- XMPP_MUC_DOMAIN
- XMPP_INTERNAL_MUC_DOMAIN
- XMPP_LOBBY_MUC_MODULES
- XMPP_MODULES
- XMPP_MUC_MODULES
- XMPP_MUC_CONFIGURATION

View File

@ -393,6 +393,9 @@ Component "lobby.{{ $XMPP_DOMAIN }}" "muc"
{{ if $ENABLE_RATE_LIMITS -}}
"muc_rate_limit";
{{ end -}}
{{ if .Env.XMPP_LOBBY_MUC_MODULES -}}
"{{ join "\";\n\"" (splitList "," .Env.XMPP_LOBBY_MUC_MODULES) }}";
{{ end -}}
}
{{ end }}
@ -414,6 +417,9 @@ Component "breakout.{{ $XMPP_DOMAIN }}" "muc"
{{ if $ENABLE_RATE_LIMITS -}}
"muc_rate_limit";
{{ end -}}
{{ if .Env.XMPP_BREAKOUT_MUC_MODULES -}}
"{{ join "\";\n\"" (splitList "," .Env.XMPP_BREAKOUT_MUC_MODULES) }}";
{{ end -}}
}
{{ end }}