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/federation/transport | |
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/federation/transport')
-rw-r--r-- | synapse/federation/transport/client.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/synapse/federation/transport/client.py b/synapse/federation/transport/client.py index 482a101c09..7b18408144 100644 --- a/synapse/federation/transport/client.py +++ b/synapse/federation/transport/client.py @@ -383,17 +383,6 @@ class TransportLayerClient(object): @defer.inlineCallbacks @log_function - def send_query_auth(self, destination, room_id, event_id, content): - path = _create_v1_path("/query_auth/%s/%s", room_id, event_id) - - content = yield self.client.post_json( - destination=destination, path=path, data=content - ) - - return content - - @defer.inlineCallbacks - @log_function def query_client_keys(self, destination, query_content, timeout): """Query the device keys for a list of user ids hosted on a remote server. |