aboutsummaryrefslogtreecommitdiff
path: root/dendrite-sample.monolith.yaml
diff options
context:
space:
mode:
authorNeboer <43609792+Neboer@users.noreply.github.com>2022-10-26 17:04:53 +0800
committerGitHub <noreply@github.com>2022-10-26 11:04:53 +0200
commit2a4c7f45b37a9bcd1a37d42b0668e0c3dfb29762 (patch)
treec32a503aaf038b99abcc4b0e2308adaa706c8372 /dendrite-sample.monolith.yaml
parentc62ac3d6ad5c60f5f28a0f50bba50f7cbc2436ce (diff)
Add support for config "auto_join_rooms" (#2823)
Add support for config "auto_join_rooms". Now new accounts can join the rooms in config file automatically. ### Pull Request Checklist <!-- Please read https://matrix-org.github.io/dendrite/development/contributing before submitting your pull request --> * [x] I have justified why this PR doesn't need tests. * [x] Pull request includes a [sign off below using a legally identifiable name](https://matrix-org.github.io/dendrite/development/contributing#sign-off) Signed-off-by: `Rubin Poster <rubinposter@gmail.com>`
Diffstat (limited to 'dendrite-sample.monolith.yaml')
-rw-r--r--dendrite-sample.monolith.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/dendrite-sample.monolith.yaml b/dendrite-sample.monolith.yaml
index eadb74a2..5195c29b 100644
--- a/dendrite-sample.monolith.yaml
+++ b/dendrite-sample.monolith.yaml
@@ -310,6 +310,14 @@ user_api:
# The default lifetime is 3600000ms (60 minutes).
# openid_token_lifetime_ms: 3600000
+ # 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"
+
# Configuration for Opentracing.
# See https://github.com/matrix-org/dendrite/tree/master/docs/tracing for information on
# how this works and how to set it up.