summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2019-01-30 10:24:24 +0000
committerNeil Johnson <neil@matrix.org>2019-01-30 10:24:24 +0000
commitc5a0f82cca76a47c5c5ffb0b17a733829de15cb5 (patch)
tree47653d720d27ab33eb98278c7af299fd93634a21 /synapse
parentformatting and use constants where available (diff)
downloadsynapse-c5a0f82cca76a47c5c5ffb0b17a733829de15cb5.tar.xz
define room dispositions for use in exposing room capabilities
Diffstat (limited to 'synapse')
-rw-r--r--synapse/api/constants.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py
index c47346a4bf..2c6417c65a 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -109,6 +109,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