diff options
author | Half-Shot <will@half-shot.uk> | 2019-08-23 09:55:57 +0100 |
---|---|---|
committer | Half-Shot <will@half-shot.uk> | 2019-08-23 09:55:57 +0100 |
commit | ffa5b757c7775b1fffa4b2d998407be61369ce7f (patch) | |
tree | b332966f46b979b9e068b6547768ae20378366cf | |
parent | Fix registration test (diff) | |
parent | Add changelog (diff) | |
download | synapse-ffa5b757c7775b1fffa4b2d998407be61369ce7f.tar.xz |
Merge branch 'hs/bot-user-type' into hs/exempt-support-users-from-consent
-rw-r--r-- | changelog.d/5903.feature | 1 | ||||
-rw-r--r-- | synapse/api/constants.py | 3 |
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): |