summary refs log tree commit diff
diff options
context:
space:
mode:
authorHalf-Shot <will@half-shot.uk>2019-08-23 09:55:57 +0100
committerHalf-Shot <will@half-shot.uk>2019-08-23 09:55:57 +0100
commitffa5b757c7775b1fffa4b2d998407be61369ce7f (patch)
treeb332966f46b979b9e068b6547768ae20378366cf
parentFix registration test (diff)
parentAdd changelog (diff)
downloadsynapse-ffa5b757c7775b1fffa4b2d998407be61369ce7f.tar.xz
Merge branch 'hs/bot-user-type' into hs/exempt-support-users-from-consent
-rw-r--r--changelog.d/5903.feature1
-rw-r--r--synapse/api/constants.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/changelog.d/5903.feature b/changelog.d/5903.feature
new file mode 100644
index 0000000000..fc60d02107
--- /dev/null
+++ b/changelog.d/5903.feature
@@ -0,0 +1 @@
+Add bot user type.
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):