Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge branch 'develop' of github.com:matrix-org/synapse into anoa/hom…
Browse files Browse the repository at this point in the history
…eserver_copy

* 'develop' of github.com:matrix-org/synapse:
  Blacklist PurgeRoomTestCase (#6361)
  Set room version default to 5
  • Loading branch information
anoadragon453 committed Nov 14, 2019
2 parents e1648dc + a42567e commit 473aced
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/6220.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Increase default room version from 4 to 5, thereby enforcing server key validity period checks.
1 change: 1 addition & 0 deletions changelog.d/6361.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Temporarily blacklist the failing unit test PurgeRoomTestCase.test_purge_room.
2 changes: 1 addition & 1 deletion docs/sample_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,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
#
Expand Down
2 changes: 1 addition & 1 deletion synapse/config/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
# 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. "
Expand Down
2 changes: 2 additions & 0 deletions tests/rest/admin/test_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,3 +641,5 @@ def test_purge_room(self):
)

self.assertEqual(count, 0, msg="Rows not purged in {}".format(table))

test_purge_room.skip = "Disabled because it's currently broken"

0 comments on commit 473aced

Please sign in to comment.