浏览代码

Simplify auto_join_mxid_localpart population

pull/3385/head
Slavi Pantaleev 2 年前
committed by GitHub
父节点
当前提交
4aa3345db0
找不到此签名对应的密钥 GPG 密钥 ID: B5690EEEBB952194
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. +1
    -3
      roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 1
- 3
roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 查看文件

@@ -1541,9 +1541,7 @@ autocreate_auto_join_rooms: {{ matrix_synapse_autocreate_auto_join_rooms|to_json
# Note that, if the room already exists, this user must be joined and
# have the appropriate permissions to invite new members.
#
{% if matrix_synapse_auto_join_mxid_localpart %}
auto_join_mxid_localpart: {{ matrix_synapse_auto_join_mxid_localpart }}
{% endif %}
auto_join_mxid_localpart: {{ matrix_synapse_auto_join_mxid_localpart | to_json }}

# When auto_join_rooms is specified, setting this flag to false prevents
# guest accounts from being automatically joined to the rooms.


正在加载...
取消
保存