summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2018-08-14 11:20:41 +0100
committerNeil Johnson <neil@matrix.org>2018-08-14 11:20:41 +0100
commit9b75c78b4df276fe40d3f1b92a57481c3e970886 (patch)
tree2fb6e80dd32ffc0068748fa138bf368572f3793c /synapse/api
parentfix typo (diff)
downloadsynapse-9b75c78b4df276fe40d3f1b92a57481c3e970886.tar.xz
support server notice state events for resource limits
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/constants.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py
index b0da506f6d..ef60841995 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -79,6 +79,8 @@ class EventTypes(object):
 
     ServerACL = "m.room.server_acl"
 
+    ServerNoticeLimitReached = "m.server_notice.usage_limit_reached"
+
 
 class RejectedReason(object):
     AUTH_ERROR = "auth_error"