Преглед на файлове

add matrix_synapse_email_enable_notifs and matrix_synapse_email_notif_for_new_users

pull/4899/head
Aine преди 3 седмици
родител
ревизия
adf521f8cb
No known key found for this signature in database GPG ключ ID: 34969C908CCA2804
променени са 2 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. +2
    -0
      roles/custom/matrix-synapse/defaults/main.yml
  2. +2
    -2
      roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 2
- 0
roles/custom/matrix-synapse/defaults/main.yml Целия файл

@@ -1242,6 +1242,8 @@ matrix_synapse_email_smtp_pass: ""
matrix_synapse_email_smtp_require_transport_security: false
matrix_synapse_email_notif_from: "Matrix <matrix@{{ matrix_domain }}>"
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_invite_client_location: "https://app.element.io"



+ 2
- 2
roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 Целия файл

@@ -2400,13 +2400,13 @@ email:
# has missed. Disabled by default.
#
#enable_notifs: false
enable_notifs: true
enable_notifs: {{ matrix_synapse_email_enable_notifs|to_json }}

# Uncomment the following to disable automatic subscription to email
# notifications for new users. Enabled by default.
#
#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
# links will be based on "https://matrix.to".


Зареждане…
Отказ
Запис