From d0e40dfe29fdf068972fc9a63f50fc94daaa06b3 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 31 May 2022 01:42:18 -0600 Subject: Fix M_USER_ACCOUNT_SUSPENDED error code for spec compliance (#12923) --- synapse/api/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse') 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. -- cgit 1.4.1