fix: Load XMPP_MODULES for the guest domain.

This commit is contained in:
Boris Grozev
2025-06-02 17:08:51 -05:00
committed by Дамян Минков
parent e4232c4213
commit 4ff28768e5

View File

@@ -248,6 +248,9 @@ VirtualHost "{{ $XMPP_GUEST_DOMAIN }}"
{{ if $ENABLE_XMPP_WEBSOCKET }} {{ if $ENABLE_XMPP_WEBSOCKET }}
"smacks"; -- XEP-0198: Stream Management "smacks"; -- XEP-0198: Stream Management
{{ end }} {{ end }}
{{ if .Env.XMPP_MODULES }}
"{{ join "\";\n \"" (splitList "," .Env.XMPP_MODULES | compact) }}";
{{ end }}
} }
c2s_require_encryption = {{ $C2S_REQUIRE_ENCRYPTION }} c2s_require_encryption = {{ $C2S_REQUIRE_ENCRYPTION }}