summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorTravis Ralston <travisr@element.io>2024-12-04 16:56:42 -0700
committerGitHub <noreply@github.com>2024-12-04 17:56:42 -0600
commitb90ad26ebc90ef286fad3b9a60699e6fdbbe2bd9 (patch)
treeb5b0c933b377b837b2bb84649f19c224e38ad7fb /synapse/api
parent1.121.0rc1 (diff)
downloadsynapse-b90ad26ebc90ef286fad3b9a60699e6fdbbe2bd9.tar.xz
Promote account suspension to stable (#17964)
MSC: https://github.com/matrix-org/matrix-spec-proposals/pull/3823
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/errors.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py

index 71e4bb4971..21989b6e0e 100644 --- a/synapse/api/errors.py +++ b/synapse/api/errors.py
@@ -100,8 +100,9 @@ class Codes(str, Enum): # The account has been suspended on the server. # 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" + # Introduced by MSC3823 + # https://github.com/matrix-org/matrix-spec-proposals/pull/3823 + USER_ACCOUNT_SUSPENDED = "M_USER_SUSPENDED" BAD_ALIAS = "M_BAD_ALIAS" # For restricted join rules.