diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2019-05-23 15:00:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-23 15:00:20 +0100 |
commit | 6368150a748e9303f34948873af360d8a62347b6 (patch) | |
tree | 2191d61afc76c7b214aa8e9bb623cb14b8635d0c /docs | |
parent | Store key validity time in the storage layer (diff) | |
download | synapse-6368150a748e9303f34948873af360d8a62347b6.tar.xz |
Add config option for setting homeserver's default room version (#5223)
Replaces DEFAULT_ROOM_VERSION constant with a method that first checks the config, then returns a hardcoded value if the option is not present. That hardcoded value is now located in the server.py config file.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/sample_config.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml index 559fbcdd01..2a5a514d61 100644 --- a/docs/sample_config.yaml +++ b/docs/sample_config.yaml @@ -83,6 +83,15 @@ pid_file: DATADIR/homeserver.pid # #restrict_public_rooms_to_local_users: true +# The default room version for newly created rooms. +# +# Known room versions are listed here: +# https://matrix.org/docs/spec/#complete-list-of-room-versions +# +# For example, for room version 1, default_room_version should be set +# to "1". +#default_room_version: "1" + # The GC threshold parameters to pass to `gc.set_threshold`, if defined # #gc_thresholds: [700, 10, 10] |