Allow configuring synapse auto_join_mxid_localpart

`auto_join_mxid_localpart` defines the local part of the user id which is used to create auto-join rooms. The variable needs to be set to invite new users to any auto-join rooms which are set to invite-only.
This commit is contained in:
hagene
2024-06-27 14:51:06 +02:00
parent c9052647a3
commit ef90ee9495
2 changed files with 9 additions and 1 deletions

View File

@ -1541,7 +1541,9 @@ 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.
#
#auto_join_mxid_localpart: system
{% if matrix_synapse_auto_join_mxid_localpart %}
auto_join_mxid_localpart: {{ matrix_synapse_auto_join_mxid_localpart }}
{% endif %}
# When auto_join_rooms is specified, setting this flag to false prevents
# guest accounts from being automatically joined to the rooms.