summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2019-01-30 14:26:56 +0000
committerGitHub <noreply@github.com>2019-01-30 14:26:56 +0000
commit6587b0b89bf3014ec6c474999aba5ea1dbcb0ecd (patch)
treec993fd0c81679a0eef0f063ad3f0783695bc7e12 /synapse/api
parentFix replication for room v3 (#4523) (diff)
parentMerge branch 'neilj/room_capabilities' of github.com:matrix-org/synapse into ... (diff)
downloadsynapse-6587b0b89bf3014ec6c474999aba5ea1dbcb0ecd.tar.xz
Merge pull request #4472 from matrix-org/neilj/room_capabilities
Server capabilities support
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/constants.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py
index ba519005ca..0cbae9429b 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -108,6 +108,11 @@ class RoomVersions(object):
     STATE_V2_TEST = "state-v2-test"
 
 
+class RoomDisposition(object):
+    STABLE = "stable",
+    UNSTABLE = "unstable"
+
+
 # the version we will give rooms which are created on this server
 DEFAULT_ROOM_VERSION = RoomVersions.V1
 
@@ -118,6 +123,7 @@ KNOWN_ROOM_VERSIONS = {
     RoomVersions.V2,
     RoomVersions.V3,
     RoomVersions.STATE_V2_TEST,
+    RoomVersions.V3,
 }