summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-07-13 16:48:06 +0100
committerErik Johnston <erik@matrix.org>2015-07-13 16:56:08 +0100
commitd5cc7945985e4cbf17c7dbf4c7c45071b87d030e (patch)
treee6c573fade85580d9514b3e49f8191a54a278d56 /synapse/api
parentMerge pull request #196 from matrix-org/erikj/room_history (diff)
downloadsynapse-d5cc7945985e4cbf17c7dbf4c7c45071b87d030e.tar.xz
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..885b9c3596 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):
+    PrivateChat = "private_chat"
+    PublicChat = "public_chat"