Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Revert "Fix M_USER_ACCOUNT_SUSPENDED error code for spec compliance (#…
Browse files Browse the repository at this point in the history
…12922)"

This reverts commit e0fae82.
  • Loading branch information
turt2live authored May 31, 2022
1 parent e0fae82 commit 4e83bcc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion changelog.d/12845.feature
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Support the new error code "ORG.MATRIX.MSC3823.USER_ACCOUNT_SUSPENDED" from [MSC3823](https:/matrix-org/matrix-spec-proposals/pull/3823).
Support the new error code "M_ORG_MATRIX_MSC3823_USER_ACCOUNT_SUSPENDED" from [MSC3823](https:/matrix-org/matrix-spec-proposals/pull/3823).
1 change: 0 additions & 1 deletion changelog.d/12922.feature

This file was deleted.

2 changes: 1 addition & 1 deletion synapse/api/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4e83bcc

Please sign in to comment.