summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-10-25 10:19:09 +0100
committerErik Johnston <erik@matrix.org>2019-10-25 10:19:09 +0100
commitb409d51dee6cf612a64fedd42798690abca4c11e (patch)
treeb221d42929812cb5229975bf15ec327878006d80 /synapse/api/constants.py
parentMerge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes (diff)
parentMerge pull request #6251 from matrix-org/michaelkaye/debug_guard_logging (diff)
downloadsynapse-b409d51dee6cf612a64fedd42798690abca4c11e.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r--synapse/api/constants.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py

index f29bce560c..312196675e 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py
@@ -97,8 +97,6 @@ class EventTypes(object): class RejectedReason(object): AUTH_ERROR = "auth_error" - REPLACED = "replaced" - NOT_ANCESTOR = "not_ancestor" class RoomCreationPreset(object): @@ -133,3 +131,10 @@ class RelationTypes(object): ANNOTATION = "m.annotation" REPLACE = "m.replace" REFERENCE = "m.reference" + + +class LimitBlockingTypes(object): + """Reasons that a server may be blocked""" + + MONTHLY_ACTIVE_USER = "monthly_active_user" + HS_DISABLED = "hs_disabled"