summary refs log tree commit diff
path: root/synapse/federation/replication.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-01-26 14:33:11 +0000
committerErik Johnston <erik@matrix.org>2015-01-26 14:33:11 +0000
commitc92d64a6c35713aabaed11e8ef1e62d2fb84a875 (patch)
treec4d6efd5f7bfeea3c9ff4137015ec953c4d93a17 /synapse/federation/replication.py
parentSplit up replication_layer module into client, server and transaction queue (diff)
downloadsynapse-c92d64a6c35713aabaed11e8ef1e62d2fb84a875.tar.xz
Make it the responsibility of the replication layer to check signature and hashes.
Diffstat (limited to 'synapse/federation/replication.py')
-rw-r--r--synapse/federation/replication.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/federation/replication.py b/synapse/federation/replication.py
index 9ef4834927..e442c6c5d5 100644
--- a/synapse/federation/replication.py
+++ b/synapse/federation/replication.py
@@ -51,6 +51,8 @@ class ReplicationLayer(FederationClient, FederationServer):
     def __init__(self, hs, transport_layer):
         self.server_name = hs.hostname
 
+        self.keyring = hs.get_keyring()
+
         self.transport_layer = transport_layer
         self.transport_layer.register_received_handler(self)
         self.transport_layer.register_request_handler(self)