summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2018-08-15 10:19:48 +0100
committerNeil Johnson <neil@matrix.org>2018-08-15 10:19:48 +0100
commitb8429c7c81f96fdf24f8e297e788fd2b8b3a712a (patch)
treed460d4c9683d85e0ffadf27a8feac016c114ac5a /synapse/api
parentreplace admin_email with admin_uri for greater flexibility (diff)
downloadsynapse-b8429c7c81f96fdf24f8e297e788fd2b8b3a712a.tar.xz
update error codes for resource limiting
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/errors.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py
index b677087e73..10b0356e86 100644
--- a/synapse/api/errors.py
+++ b/synapse/api/errors.py
@@ -56,8 +56,7 @@ class Codes(object):
     SERVER_NOT_TRUSTED = "M_SERVER_NOT_TRUSTED"
     CONSENT_NOT_GIVEN = "M_CONSENT_NOT_GIVEN"
     CANNOT_LEAVE_SERVER_NOTICE_ROOM = "M_CANNOT_LEAVE_SERVER_NOTICE_ROOM"
-    MAU_LIMIT_EXCEEDED = "M_MAU_LIMIT_EXCEEDED"
-    HS_DISABLED = "M_HS_DISABLED"
+    RESOURCE_LIMIT_EXCEED = "M_RESOURCE_LIMIT_EXCEED"
     UNSUPPORTED_ROOM_VERSION = "M_UNSUPPORTED_ROOM_VERSION"
     INCOMPATIBLE_ROOM_VERSION = "M_INCOMPATIBLE_ROOM_VERSION"