summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorWill Hunt <will@half-shot.uk>2019-08-28 16:31:40 +0100
committerGitHub <noreply@github.com>2019-08-28 16:31:40 +0100
commitc8fa620d7adb2da0638b80c62c2b695f2732191d (patch)
tree892a3f4e9d762454a3e3c31dda71fde0d76476e9 /synapse/api
parentLet synctl use a config directory. (#5904) (diff)
parentRemoving entry for 5903 (diff)
downloadsynapse-c8fa620d7adb2da0638b80c62c2b695f2732191d.tar.xz
Merge pull request #5902 from matrix-org/hs/exempt-support-users-from-consent
Exempt support users from consent
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/constants.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py
index 3ffde0d7fc..f29bce560c 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -122,7 +122,8 @@ class UserTypes(object):
     """
 
     SUPPORT = "support"
-    ALL_USER_TYPES = (SUPPORT,)
+    BOT = "bot"
+    ALL_USER_TYPES = (SUPPORT, BOT)
 
 
 class RelationTypes(object):