summary refs log tree commit diff
path: root/synapse/federation/federation_client.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-03-12 14:07:39 +0000
committerErik Johnston <erik@matrix.org>2018-03-13 10:51:30 +0000
commite05bf34117de19705b36a4803085ea93f7381928 (patch)
tree61a44bab00810ba6b1a97b8a583998b5afa9ebbb /synapse/federation/federation_client.py
parentFix tests (diff)
downloadsynapse-e05bf34117de19705b36a4803085ea93f7381928.tar.xz
Move property setting from ReplicationLayer to FederationBase
Diffstat (limited to 'synapse/federation/federation_client.py')
-rw-r--r--synapse/federation/federation_client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/federation/federation_client.py b/synapse/federation/federation_client.py
index 813907f7f2..38440da5b5 100644
--- a/synapse/federation/federation_client.py
+++ b/synapse/federation/federation_client.py
@@ -58,6 +58,7 @@ class FederationClient(FederationBase):
             self._clear_tried_cache, 60 * 1000,
         )
         self.state = hs.get_state_handler()
+        self.transport_layer = hs.get_federation_transport_client()
 
     def _clear_tried_cache(self):
         """Clear pdu_destination_tried cache"""