feat(prosody): Move to polls component.

This commit is contained in:
damencho
2025-09-16 10:53:30 -05:00
committed by Дамян Минков
parent 7eae61d40d
commit a5b307b94c

View File

@@ -316,9 +316,6 @@ Component "{{ $XMPP_MUC_DOMAIN }}" "muc"
{{ if and $ENABLE_AUTH (eq $PROSODY_AUTH_TYPE "hybrid_matrix_token") $MATRIX_LOBBY_BYPASS -}} {{ if and $ENABLE_AUTH (eq $PROSODY_AUTH_TYPE "hybrid_matrix_token") $MATRIX_LOBBY_BYPASS -}}
"matrix_lobby_bypass"; "matrix_lobby_bypass";
{{ end -}} {{ end -}}
{{ if not $DISABLE_POLLS -}}
"polls";
{{ end -}}
{{ if $ENABLE_SUBDOMAINS -}} {{ if $ENABLE_SUBDOMAINS -}}
"muc_domain_mapper"; "muc_domain_mapper";
{{ end -}} {{ end -}}
@@ -448,9 +445,6 @@ Component "breakout.{{ $XMPP_DOMAIN }}" "muc"
modules_enabled = { modules_enabled = {
"muc_hide_all"; "muc_hide_all";
"muc_meeting_id"; "muc_meeting_id";
{{ if not $DISABLE_POLLS -}}
"polls";
{{ end -}}
{{ if $ENABLE_RATE_LIMITS -}} {{ if $ENABLE_RATE_LIMITS -}}
"muc_rate_limit"; "muc_rate_limit";
{{ end -}} {{ end -}}
@@ -470,3 +464,7 @@ Component "visitors.{{ $XMPP_DOMAIN }}" "visitors_component"
auto_allow_visitor_promotion = true auto_allow_visitor_promotion = true
always_visitors_enabled = true always_visitors_enabled = true
{{ end }} {{ end }}
{{ if not $DISABLE_POLLS -}}
Component "polls.{{ $XMPP_DOMAIN }}" "polls_component"
{{ end -}}