ソースを参照

add matrix_synapse_email_enable_notifs and matrix_synapse_email_notif_for_new_users

pull/4899/head
Aine 2ヶ月前
コミット
adf521f8cb
この署名に対応する既知のキーがデータベースに存在しません 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".


読み込み中…
キャンセル
保存