Merge pull request #3654 from matrix-org/rav/room_versions

Support for room versioning
This commit is contained in:
Richard van der Hoff 2018-08-08 17:10:53 +01:00 committed by GitHub
commit 8521ae13e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 244 additions and 22 deletions

View file

@ -77,6 +77,10 @@ def setup_test_homeserver(name="test", datastore=None, config=None, reactor=None
config.max_mau_value = 50
config.mau_limits_reserved_threepids = []
# we need a sane default_room_version, otherwise attempts to create rooms will
# fail.
config.default_room_version = "1"
# disable user directory updates, because they get done in the
# background, which upsets the test runner.
config.update_user_directory = False