add matrix_synapse_email_enable_notifs and matrix_synapse_email_notif_for_new_users

This commit is contained in:
Aine
2026-02-05 19:09:51 +00:00
parent 4cfe5f8f3f
commit adf521f8cb
2 changed files with 4 additions and 2 deletions

View File

@@ -1242,6 +1242,8 @@ matrix_synapse_email_smtp_pass: ""
matrix_synapse_email_smtp_require_transport_security: false matrix_synapse_email_smtp_require_transport_security: false
matrix_synapse_email_notif_from: "Matrix <matrix@{{ matrix_domain }}>" matrix_synapse_email_notif_from: "Matrix <matrix@{{ matrix_domain }}>"
matrix_synapse_email_app_name: Matrix matrix_synapse_email_app_name: Matrix
matrix_synapse_email_enable_notifs: true
matrix_synapse_email_notif_for_new_users: true
matrix_synapse_email_client_base_url: "{{ 'https' if matrix_playbook_ssl_enabled else 'http' }}://{{ matrix_server_fqn_element }}" matrix_synapse_email_client_base_url: "{{ 'https' if matrix_playbook_ssl_enabled else 'http' }}://{{ matrix_server_fqn_element }}"
matrix_synapse_email_invite_client_location: "https://app.element.io" matrix_synapse_email_invite_client_location: "https://app.element.io"

View File

@@ -2400,13 +2400,13 @@ email:
# has missed. Disabled by default. # has missed. Disabled by default.
# #
#enable_notifs: false #enable_notifs: false
enable_notifs: true enable_notifs: {{ matrix_synapse_email_enable_notifs|to_json }}
# Uncomment the following to disable automatic subscription to email # Uncomment the following to disable automatic subscription to email
# notifications for new users. Enabled by default. # notifications for new users. Enabled by default.
# #
#notif_for_new_users: false #notif_for_new_users: false
notif_for_new_users: True notif_for_new_users: {{ matrix_synapse_email_notif_for_new_users|to_json }}
# Custom URL for client links within the email notifications. By default # Custom URL for client links within the email notifications. By default
# links will be based on "https://matrix.to". # links will be based on "https://matrix.to".