summary refs log tree commit diff
path: root/synapse/api/errors.py
diff options
context:
space:
mode:
authorNeil Johnson <neil@fragile.org.uk>2018-08-04 22:07:04 +0100
committerNeil Johnson <neil@fragile.org.uk>2018-08-04 22:07:04 +0100
commit42c6823827a12cdb4374bc6e64d32d4ce4f526ec (patch)
treea0dbc9edfea7853ee1631a740a2b3ba085660841 /synapse/api/errors.py
parentpy3 fix (diff)
downloadsynapse-42c6823827a12cdb4374bc6e64d32d4ce4f526ec.tar.xz
disable HS from config
Diffstat (limited to 'synapse/api/errors.py')
-rw-r--r--synapse/api/errors.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py
index b41d595059..466240248a 100644
--- a/synapse/api/errors.py
+++ b/synapse/api/errors.py
@@ -56,6 +56,7 @@ class Codes(object):
     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"
 
 
 class CodeMessageException(RuntimeError):