summary refs log tree commit diff
path: root/synapse/federation/transport/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/federation/transport/client.py')
-rw-r--r--synapse/federation/transport/client.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/synapse/federation/transport/client.py b/synapse/federation/transport/client.py

index 8ba893ab35..ce5f510bd4 100644 --- a/synapse/federation/transport/client.py +++ b/synapse/federation/transport/client.py
@@ -945,14 +945,9 @@ class TransportLayerClient(object): destination (str): The remote server room_id (str): The room ID to ask about. """ - path = _create_path( - FEDERATION_UNSTABLE_PREFIX, "/rooms/%s/complexity", room_id - ) + path = _create_path(FEDERATION_UNSTABLE_PREFIX, "/rooms/%s/complexity", room_id) - return self.client.get_json( - destination=destination, - path=path - ) + return self.client.get_json(destination=destination, path=path) def _create_path(federation_prefix, path, *args):