summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorTravis Ralston <travisr@matrix.org>2022-05-30 20:27:19 -0600
committerTravis Ralston <travisr@matrix.org>2022-05-30 20:29:40 -0600
commitbcfdfeb65df820ba460de5fb96a554f694de361b (patch)
treec34b68772954200b38c5dbc6c2b95e5b2d06047e /synapse
parentFix M_USER_ACCOUNT_SUSPENDED error code for spec compliance (#12922) (diff)
downloadsynapse-bcfdfeb65df820ba460de5fb96a554f694de361b.tar.xz
Revert "Fix M_USER_ACCOUNT_SUSPENDED error code for spec compliance (#12922)"
This reverts commit e0fae823e9938618a260adadb82bfee6e4c2f907.
Diffstat (limited to '')
-rw-r--r--synapse/api/errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py
index cc7b785472..54268e0889 100644
--- a/synapse/api/errors.py
+++ b/synapse/api/errors.py
@@ -84,7 +84,7 @@ class Codes(str, Enum):
     # By opposition to `USER_DEACTIVATED`, this is a reversible measure
     # that can possibly be appealed and reverted.
     # Part of MSC3823.
-    USER_ACCOUNT_SUSPENDED = "ORG.MATRIX.MSC3823.USER_ACCOUNT_SUSPENDED"
+    USER_ACCOUNT_SUSPENDED = "M_ORG_MATRIX_MSC3823_USER_ACCOUNT_SUSPENDED"
 
     BAD_ALIAS = "M_BAD_ALIAS"
     # For restricted join rules.