diff options
author | Erik Johnston <erik@matrix.org> | 2015-01-26 14:33:11 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-01-26 14:33:11 +0000 |
commit | c92d64a6c35713aabaed11e8ef1e62d2fb84a875 (patch) | |
tree | c4d6efd5f7bfeea3c9ff4137015ec953c4d93a17 /synapse/federation/replication.py | |
parent | Split up replication_layer module into client, server and transaction queue (diff) | |
download | synapse-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.py | 2 |
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) |