diff options
author | Tulir Asokan <tulir@maunium.net> | 2023-03-16 16:00:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-16 15:00:03 +0100 |
commit | b0a0fb5c97449720c679045f1bb5a5f393b1c267 (patch) | |
tree | 01ff31ed09ba5a9538cd823d21b88723ab347080 /synapse/api/errors.py | |
parent | Refresh remote profiles that have been marked as stale, in order to fill the ... (diff) | |
download | synapse-b0a0fb5c97449720c679045f1bb5a5f393b1c267.tar.xz |
Implement MSC2659: application service ping endpoint (#15249)
Signed-off-by: Tulir Asokan <tulir@maunium.net>
Diffstat (limited to 'synapse/api/errors.py')
-rw-r--r-- | synapse/api/errors.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py index e1737de59b..8c6822f3c6 100644 --- a/synapse/api/errors.py +++ b/synapse/api/errors.py @@ -108,6 +108,11 @@ class Codes(str, Enum): USER_AWAITING_APPROVAL = "ORG.MATRIX.MSC3866_USER_AWAITING_APPROVAL" + AS_PING_URL_NOT_SET = "FI.MAU.MSC2659_URL_NOT_SET" + AS_PING_BAD_STATUS = "FI.MAU.MSC2659_BAD_STATUS" + AS_PING_CONNECTION_TIMEOUT = "FI.MAU.MSC2659_CONNECTION_TIMEOUT" + AS_PING_CONNECTION_FAILED = "FI.MAU.MSC2659_CONNECTION_FAILED" + # Attempt to send a second annotation with the same event type & annotation key # MSC2677 DUPLICATE_ANNOTATION = "M_DUPLICATE_ANNOTATION" |