| @@ -382,6 +382,7 @@ user_api: | |||||
| # is considered to be valid in milliseconds. | # is considered to be valid in milliseconds. | ||||
| # The default lifetime is 3600000ms (60 minutes). | # The default lifetime is 3600000ms (60 minutes). | ||||
| # openid_token_lifetime_ms: 3600000 | # openid_token_lifetime_ms: 3600000 | ||||
| auto_join_rooms: {{ matrix_dendrite_userapi_auto_join_rooms | to_json }} | |||||
| # Not in dendrite-config.yaml, but is in build/docker/config/dendrite.yaml | # Not in dendrite-config.yaml, but is in build/docker/config/dendrite.yaml | ||||
| # Configuration for the Push Server API. | # Configuration for the Push Server API. | ||||
| @@ -415,15 +416,3 @@ tracing: | |||||
| # stdout by Dendrite. | # stdout by Dendrite. | ||||
| logging: [] | logging: [] | ||||
| # Users who register on this homeserver will automatically be joined to the rooms listed under "auto_join_rooms" option. | |||||
| # By default, any room aliases included in this list will be created as a publicly joinable room | |||||
| # when the first user registers for the homeserver. If the room already exists, | |||||
| # make certain it is a publicly joinable room, i.e. the join rule of the room must be set to 'public'. | |||||
| # As Spaces are just rooms under the hood, Space aliases may also be used. | |||||
| #auto_join_rooms: | |||||
| # - "#main:matrix.org" | |||||
| {% if matrix_dendrite_auto_join_rooms|length > 0 %} | |||||
| auto_join_rooms: | |||||
| {{ matrix_dendrite_auto_join_rooms|to_nice_yaml(indent=2, width=999999) }} | |||||
| {% endif %} | |||||