Simplify auto_join_mxid_localpart population

This commit is contained in:
Slavi Pantaleev 2024-06-27 21:35:56 +03:00 committed by GitHub
parent ef90ee9495
commit 4aa3345db0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.