introduce new synapse vars

This commit is contained in:
Aine 2025-03-14 22:44:35 +02:00
parent 60e2e035a2
commit 1c53f8dd1d
No known key found for this signature in database
GPG Key ID: 34969C908CCA2804
2 changed files with 41 additions and 2 deletions

View File

@ -570,6 +570,10 @@ matrix_synapse_registration_requires_token: false
# A list of 3PID types which users must supply when registering (possible values: email, msisdn).
matrix_synapse_registrations_require_3pid: []
# Explicitly disable asking for MSISDNs from the registration
# flow (overrides matrix_synapse_registrations_require_3pid if MSISDNs are set as required)
matrix_synapse_disable_msisdn_registration: false
# A list of patterns 3pids must match in order to permit registration, e.g.:
# - medium: email
# pattern: '.*@example\.com'
@ -1206,6 +1210,27 @@ matrix_synapse_email_invite_client_location: "https://app.element.io"
#
################################################################################
# Controls whether to enable the "send typing, presence and receipts to appservices" experimental feature.
#
# See:
# - https://github.com/matrix-org/matrix-spec-proposals/pull/2409
# - https://matrix-org.github.io/matrix-hookshot/latest/advanced/encryption.html#running-with-synapse
matrix_synapse_experimental_features_msc2409_to_device_messages_enabled: false
# Controls whether to enable the "device masquerading" for encrypted appservices experimental feature.
#
# See:
# - https://github.com/matrix-org/matrix-spec-proposals/pull/3202
# - https://matrix-org.github.io/matrix-hookshot/latest/advanced/encryption.html#running-with-synapse
matrix_synapse_experimental_features_msc3202_device_masquerading_enabled: false
# Controls whether to enable the "transaction extensions" for encrypted appservices experimental feature.
#
# See:
# - https://github.com/matrix-org/matrix-spec-proposals/pull/3202
# - https://matrix-org.github.io/matrix-hookshot/latest/advanced/encryption.html#running-with-synapse
matrix_synapse_experimental_features_msc3202_transaction_extensions_enabled: false
# Controls whether to enable the "Next-generation auth for Matrix, based on OAuth 2.0/OIDC" experimental feature.
#
# See:
@ -1533,6 +1558,11 @@ matrix_synapse_encryption_enabled_by_default_for_room_type: "off"
matrix_synapse_trusted_key_servers:
- server_name: "matrix.org"
# Enable the following to disable the warning that is emitted when the
# matrix_synapse_trusted_key_servers include 'matrix.org'. See above.
matrix_synapse_suppress_key_server_warning: false
matrix_synapse_redaction_retention_period: 7d
# Controls how long to keep locally forgotten rooms before purging them from the DB.

View File

@ -1361,7 +1361,7 @@ registrations_require_3pid: {{ matrix_synapse_registrations_require_3pid|to_json
# Explicitly disable asking for MSISDNs from the registration
# flow (overrides registrations_require_3pid if MSISDNs are set as required)
#
#disable_msisdn_registration: true
disable_msisdn_registration: {{ matrix_synapse_disable_msisdn_registration|to_json }}
# Mandate that users are only allowed to associate certain formats of
# 3PIDs with accounts on this server.
@ -1746,7 +1746,7 @@ trusted_key_servers: {{ matrix_synapse_trusted_key_servers|to_json }}
# Uncomment the following to disable the warning that is emitted when the
# trusted_key_servers include 'matrix.org'. See above.
#
#suppress_key_server_warning: true
suppress_key_server_warning: {{ matrix_synapse_suppress_key_server_warning|to_json }}
# The signing keys to use when acting as a trusted key server. If not specified
# defaults to the server signing key.
@ -2970,6 +2970,15 @@ background_updates:
#default_batch_size: 50
experimental_features:
{% if matrix_synapse_experimental_features_msc2409_to_device_messages_enabled %}
msc2409_to_device_messages_enabled: true
{% endif %}
{% if matrix_synapse_experimental_features_msc3202_device_masquerading_enabled %}
msc3202_device_masquerading: true
{% endif %}
{% if matrix_synapse_experimental_features_msc3202_transaction_extensions_enabled %}
msc3202_transaction_extensions: true
{% endif %}
{% if matrix_synapse_experimental_features_msc3266_enabled %}
msc3266_enabled: true
{% endif %}