summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2019-01-25 11:04:11 +0000
committerNeil Johnson <neil@matrix.org>2019-01-25 11:04:11 +0000
commit53ef4da8c243b0dab68937c36bc68a9366b6a366 (patch)
treeb74a8f8699687087babaaa2849fe85b86f9b5a30 /synapse/api
parentMerge pull request #4461 from matrix-org/anoa/room_dir_quick_fix (diff)
downloadsynapse-53ef4da8c243b0dab68937c36bc68a9366b6a366.tar.xz
track unstable room v3
Diffstat (limited to 'synapse/api')
-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 46c4b4b9dc..c47346a4bf 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"
     VDH_TEST = "vdh-test-version"
     STATE_V2_TEST = "state-v2-test"
 
@@ -118,6 +119,7 @@ KNOWN_ROOM_VERSIONS = {
     RoomVersions.V2,
     RoomVersions.VDH_TEST,
     RoomVersions.STATE_V2_TEST,
+    RoomVersions.V3,
 }
 
 ServerNoticeMsgType = "m.server_notice"