summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-01-30 14:27:19 +0000
committerErik Johnston <erik@matrix.org>2019-01-30 14:27:19 +0000
commit05413d4e2025ccb0818e78e168515c338cb898e6 (patch)
tree44968dba14231884f1c84e46e38263f93a99c4f1 /synapse/api/constants.py
parentMerge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes (diff)
parentMerge pull request #4472 from matrix-org/neilj/room_capabilities (diff)
downloadsynapse-05413d4e2025ccb0818e78e168515c338cb898e6.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
Diffstat (limited to 'synapse/api/constants.py')
-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, }