diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-03-03 07:12:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-03 07:12:45 -0500 |
commit | 7dcbc33a1be04c46b930699c03c15bc759f4b22c (patch) | |
tree | 7f2a789a51c7a74d2add850bcea270939304f2c0 /synapse/api | |
parent | Always return a deferred from `get_current_state_deltas`. (#7019) (diff) | |
download | synapse-7dcbc33a1be04c46b930699c03c15bc759f4b22c.tar.xz |
Validate the alt_aliases property of canonical alias events (#6971)
Diffstat (limited to 'synapse/api')
-rw-r--r-- | synapse/api/errors.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py index 0c20601600..616942b057 100644 --- a/synapse/api/errors.py +++ b/synapse/api/errors.py @@ -66,6 +66,7 @@ class Codes(object): EXPIRED_ACCOUNT = "ORG_MATRIX_EXPIRED_ACCOUNT" INVALID_SIGNATURE = "M_INVALID_SIGNATURE" USER_DEACTIVATED = "M_USER_DEACTIVATED" + BAD_ALIAS = "M_BAD_ALIAS" class CodeMessageException(RuntimeError): |