diff options
author | Travis Ralston <travisr@matrix.org> | 2022-05-30 20:27:19 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-31 02:27:19 +0000 |
commit | e0fae823e9938618a260adadb82bfee6e4c2f907 (patch) | |
tree | ea3bbd61b1b40f595fbb90edbed516774254e00c /synapse | |
parent | Don't return `end` from `/messages` if there are no more events (#12903) (diff) | |
download | synapse-e0fae823e9938618a260adadb82bfee6e4c2f907.tar.xz |
Fix M_USER_ACCOUNT_SUSPENDED error code for spec compliance (#12922)
`M_` is a reserved namespace.
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/api/errors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py index 54268e0889..cc7b785472 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 = "M_ORG_MATRIX_MSC3823_USER_ACCOUNT_SUSPENDED" + USER_ACCOUNT_SUSPENDED = "ORG.MATRIX.MSC3823.USER_ACCOUNT_SUSPENDED" BAD_ALIAS = "M_BAD_ALIAS" # For restricted join rules. |