summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorHalf-Shot <will@half-shot.uk>2019-08-23 09:52:09 +0100
committerHalf-Shot <will@half-shot.uk>2019-08-23 09:52:09 +0100
commitd9b8cf81be1a1132d29e89e3b7d2451886783163 (patch)
treec2f2410741660bdfdae4b4df8f18de20b345a4eb /synapse/api/constants.py
parentPropagate opentracing contexts through EDUs (#5852) (diff)
downloadsynapse-d9b8cf81be1a1132d29e89e3b7d2451886783163.tar.xz
Add bot type
Diffstat (limited to 'synapse/api/constants.py')
-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):