summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-07-16 18:18:11 +0100
committerErik Johnston <erik@matrix.org>2015-07-16 18:18:11 +0100
commitd155b318d24ecd52b48ff87466db01cbc5eb60c0 (patch)
treea2be61d145c39a1d2e0c68885819f1464adc937a /synapse/api
parentMerge pull request #202 from matrix-org/erikj/power_level_sanity (diff)
parentImplement specifying custom initial state for /createRoom (diff)
downloadsynapse-d155b318d24ecd52b48ff87466db01cbc5eb60c0.tar.xz
Merge pull request #203 from matrix-org/erikj/room_creation_presets
Implement presets at room creation
Diffstat (limited to 'synapse/api')
-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 3e15e8a9d7..7156ee4e7d 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -87,3 +87,8 @@ class RejectedReason(object):
     AUTH_ERROR = "auth_error"
     REPLACED = "replaced"
     NOT_ANCESTOR = "not_ancestor"
+
+
+class RoomCreationPreset(object):
+    PRIVATE_CHAT = "private_chat"
+    PUBLIC_CHAT = "public_chat"