diff options
author | Neil Johnson <neil@matrix.org> | 2019-01-30 10:24:24 +0000 |
---|---|---|
committer | Neil Johnson <neil@matrix.org> | 2019-01-30 10:24:24 +0000 |
commit | c5a0f82cca76a47c5c5ffb0b17a733829de15cb5 (patch) | |
tree | 47653d720d27ab33eb98278c7af299fd93634a21 /synapse/api/constants.py | |
parent | formatting and use constants where available (diff) | |
download | synapse-c5a0f82cca76a47c5c5ffb0b17a733829de15cb5.tar.xz |
define room dispositions for use in exposing room capabilities
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r-- | synapse/api/constants.py | 5 |
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 |