From c5a0f82cca76a47c5c5ffb0b17a733829de15cb5 Mon Sep 17 00:00:00 2001
From: Neil Johnson <neil@matrix.org>
Date: Wed, 30 Jan 2019 10:24:24 +0000
Subject: [PATCH] define room dispositions for use in exposing room
 capabilities

---
 synapse/api/constants.py | 5 +++++
 1 file changed, 5 insertions(+)

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
 
-- 
GitLab