mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-23 23:30:43 -04:00
rip out some unreachable code
The only possible rejection reason is AUTH_ERROR, so all of this is unreachable.
This commit is contained in:
parent
cad0132fb5
commit
1ba359a11f
4 changed files with 0 additions and 153 deletions
|
@ -381,17 +381,6 @@ class TransportLayerClient(object):
|
|||
|
||||
return content
|
||||
|
||||
@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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue