diff options
author | Richard van der Hoff <richard@matrix.org> | 2019-10-11 14:50:48 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2019-10-17 21:45:59 +0100 |
commit | 1ba359a11f238fa8d9b6319067d1b0acefdba20a (patch) | |
tree | abbeed72a2167d5538f1534221b0230531a8d58d /synapse/api/constants.py | |
parent | Remove dead check_auth script (diff) | |
download | synapse-1ba359a11f238fa8d9b6319067d1b0acefdba20a.tar.xz |
rip out some unreachable code
The only possible rejection reason is AUTH_ERROR, so all of this is unreachable.
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r-- | synapse/api/constants.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py index f29bce560c..60e99e4663 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py @@ -97,8 +97,6 @@ class EventTypes(object): class RejectedReason(object): AUTH_ERROR = "auth_error" - REPLACED = "replaced" - NOT_ANCESTOR = "not_ancestor" class RoomCreationPreset(object): |