diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-03-18 16:28:54 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-03-18 16:28:54 +0000 |
commit | 5dde341dc3ffbc68b0980e9810893f652f671899 (patch) | |
tree | ddc039cc33da115b2f7c0b457e712e4de74916a0 | |
parent | Blacklist PurgeRoomTestCase (#6361) (diff) | |
parent | Merge pull request #6220 from matrix-org/neilj/set_room_version_default_to_5 (diff) | |
download | synapse-5dde341dc3ffbc68b0980e9810893f652f671899.tar.xz |
Merge pull request #6220 from matrix-org/neilj/set_room_version_default_to_5
* commit 'a42567e4a': Set room version default to 5
-rw-r--r-- | changelog.d/6220.feature | 1 | ||||
-rw-r--r-- | docs/sample_config.yaml | 2 | ||||
-rw-r--r-- | synapse/config/server.py | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/changelog.d/6220.feature b/changelog.d/6220.feature new file mode 100644 index 0000000000..8343e9912b --- /dev/null +++ b/changelog.d/6220.feature @@ -0,0 +1 @@ +Increase default room version from 4 to 5, thereby enforcing server key validity period checks. diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml index 8eddf37d1d..effd05044a 100644 --- a/docs/sample_config.yaml +++ b/docs/sample_config.yaml @@ -79,7 +79,7 @@ pid_file: DATADIR/homeserver.pid # For example, for room version 1, default_room_version should be set # to "1". # -#default_room_version: "4" +#default_room_version: "5" # The GC threshold parameters to pass to `gc.set_threshold`, if defined # diff --git a/synapse/config/server.py b/synapse/config/server.py index ddd917efbf..a297020672 100644 --- a/synapse/config/server.py +++ b/synapse/config/server.py @@ -41,7 +41,7 @@ logger = logging.Logger(__name__) # in the list. DEFAULT_BIND_ADDRESSES = ["::", "0.0.0.0"] -DEFAULT_ROOM_VERSION = "4" +DEFAULT_ROOM_VERSION = "5" ROOM_COMPLEXITY_TOO_GREAT = ( "Your homeserver is unable to join rooms this large or complex. " |