浏览代码

add matrix_synapse_email_enable_notifs and matrix_synapse_email_notif_for_new_users

pull/4899/head
Aine 3 周前
父节点
当前提交
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".


正在加载...
取消
保存