summary refs log tree commit diff
path: root/synapse/api/errors.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-03-16 14:55:37 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-03-16 14:55:37 +0000
commit95b332e90a232aadce5c8fb95284504a45c2a364 (patch)
tree2496a8636de6aa9a80d1b8a01c0cd1dc313ccddc /synapse/api/errors.py
parentMerge pull request #6214 from matrix-org/rav/event_auth/1 (diff)
parentRemove Auth.check method (#6217) (diff)
downloadsynapse-95b332e90a232aadce5c8fb95284504a45c2a364.tar.xz
Remove Auth.check method (#6217)
* commit '93eaeec75':
  Remove Auth.check method (#6217)
  add note about database upgrade
  use the right function for when we're already in runInteraction
  add user signature stream change cache to slaved device store
  black
  use stream ID generator instead of timestamp
  make isort happy
  apply PR review suggestions
  fix formatting
  add changelog
  make changes from PR review
  don't need to return the hidden column any more
  really fix queries to work with Postgres
  PostgreSQL, Y U no like?
  remove extra SQL query param
  add changelog file
  apply changes from PR review
  allow uploading keys for cross-signing
  allow devices to be marked as "hidden"
Diffstat (limited to 'synapse/api/errors.py')
-rw-r--r--synapse/api/errors.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py

index 90186021ba..1e941942ad 100644 --- a/synapse/api/errors.py +++ b/synapse/api/errors.py
@@ -63,6 +63,7 @@ class Codes(object): INCOMPATIBLE_ROOM_VERSION = "M_INCOMPATIBLE_ROOM_VERSION" WRONG_ROOM_KEYS_VERSION = "M_WRONG_ROOM_KEYS_VERSION" EXPIRED_ACCOUNT = "ORG_MATRIX_EXPIRED_ACCOUNT" + INVALID_SIGNATURE = "M_INVALID_SIGNATURE" USER_DEACTIVATED = "M_USER_DEACTIVATED" PASSWORD_TOO_SHORT = "M_PASSWORD_TOO_SHORT" PASSWORD_NO_DIGIT = "M_PASSWORD_NO_DIGIT"