summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-01-29 11:55:18 +0000
committerErik Johnston <erik@matrix.org>2019-01-29 11:55:33 +0000
commit7a3ec5b022185e805d82c9b1e441597ef9d65425 (patch)
tree523afd0a1ae5d74be1f2ed4e725709240a9a5226
parentMerge pull request #4496 from matrix-org/erikj/invite_fallback (diff)
downloadsynapse-7a3ec5b022185e805d82c9b1e441597ef9d65425.tar.xz
Add RoomVersions.V3 constant, without enabling it
We add the constant, but don't add it to the known room versions. This
lets us start adding V3 logic, but the servers will never join or create
V3 rooms
-rw-r--r--synapse/api/constants.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py
index 51ee078bc3..2c3b1f8c59 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -104,6 +104,7 @@ class ThirdPartyEntityKind(object):
 class RoomVersions(object):
     V1 = "1"
     V2 = "2"
+    V3 = "3"  # Not currently fully supported, so
     VDH_TEST = "vdh-test-version"
     STATE_V2_TEST = "state-v2-test"