diff options
author | Erik Johnston <erik@matrix.org> | 2015-07-16 18:18:11 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-07-16 18:18:11 +0100 |
commit | d155b318d24ecd52b48ff87466db01cbc5eb60c0 (patch) | |
tree | a2be61d145c39a1d2e0c68885819f1464adc937a /synapse/api | |
parent | Merge pull request #202 from matrix-org/erikj/power_level_sanity (diff) | |
parent | Implement specifying custom initial state for /createRoom (diff) | |
download | synapse-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.py | 5 |
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" |