summary refs log tree commit diff
path: root/synapse/federation/federation_client.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2018-03-13 11:45:25 +0000
committerGitHub <noreply@github.com>2018-03-13 11:45:25 +0000
commit9a2d9b478966ff065cfdca9f595cb2d3012a6d22 (patch)
tree21b127372eae5fae7508e38aa9ca55d94e4c36cc /synapse/federation/federation_client.py
parentMerge pull request #2976 from matrix-org/erikj/replication_registry (diff)
parentMove property setting from ReplicationLayer to FederationBase (diff)
downloadsynapse-9a2d9b478966ff065cfdca9f595cb2d3012a6d22.tar.xz
Merge pull request #2977 from matrix-org/erikj/replication_move_props
Move property setting from ReplicationLayer to base classes
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"""