diff options
author | Neil Johnson <neil@matrix.org> | 2018-11-12 17:58:49 +0000 |
---|---|---|
committer | Neil Johnson <neil@matrix.org> | 2018-11-12 17:58:49 +0000 |
commit | eaac29f7ef3fbc90512dd6509a761c040e2d7840 (patch) | |
tree | 5042c1ec7840329084896a75ca48fffd673b29a2 /synapse/api/constants.py | |
parent | remove white space (diff) | |
download | synapse-eaac29f7ef3fbc90512dd6509a761c040e2d7840.tar.xz |
move to db backed support user
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r-- | synapse/api/constants.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py index f20e0fcf0b..f6f2d6bd6f 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py @@ -105,7 +105,6 @@ class RoomVersions(object): VDH_TEST = "vdh-test-version" STATE_V2_TEST = "state-v2-test" - # the version we will give rooms which are created on this server DEFAULT_ROOM_VERSION = RoomVersions.V1 @@ -119,3 +118,9 @@ KNOWN_ROOM_VERSIONS = { ServerNoticeMsgType = "m.server_notice" ServerNoticeLimitReached = "m.server_notice.usage_limit_reached" + + +# Allows for user type specific behaviour, if we'd had a crystal ball would +# probably have included admin and guest, normal users are type None +class UserTypes(object): + SUPPORT = "support" |