summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-12-18 18:10:37 +0000
committerErik Johnston <erik@matrix.org>2018-12-18 18:10:37 +0000
commitdf89f8afb87cb5302c6d68ca54d56969a9736133 (patch)
tree383a6b816aa522399505481bc6fa421b8aed40d2 /synapse/api/constants.py
parentMerge tag 'v0.33.9' (diff)
downloadsynapse-df89f8afb87cb5302c6d68ca54d56969a9736133.tar.xz
Add v2 room version
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r--synapse/api/constants.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py

index f20e0fcf0b..37dee2a50a 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py
@@ -102,6 +102,7 @@ class ThirdPartyEntityKind(object): class RoomVersions(object): V1 = "1" + V2 = "2" VDH_TEST = "vdh-test-version" STATE_V2_TEST = "state-v2-test" @@ -113,6 +114,7 @@ DEFAULT_ROOM_VERSION = RoomVersions.V1 # until we have a working v2. KNOWN_ROOM_VERSIONS = { RoomVersions.V1, + RoomVersions.V2, RoomVersions.VDH_TEST, RoomVersions.STATE_V2_TEST, }