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):
|