diff options
author | Erik Johnston <erik@matrix.org> | 2018-03-12 14:34:31 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-03-13 10:55:47 +0000 |
commit | 265b993b8afd2501b2aa3a50670f39d6d97eddb7 (patch) | |
tree | 65949cc5f26498dde00051dfb552073f5a541485 /synapse/handlers/federation.py | |
parent | Move property setting from ReplicationLayer to FederationBase (diff) | |
download | synapse-265b993b8afd2501b2aa3a50670f39d6d97eddb7.tar.xz |
Split replication layer into two
Diffstat (limited to 'synapse/handlers/federation.py')
-rw-r--r-- | synapse/handlers/federation.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index 520612683e..cfd4379160 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -68,7 +68,7 @@ class FederationHandler(BaseHandler): self.hs = hs self.store = hs.get_datastore() - self.replication_layer = hs.get_replication_layer() + self.replication_layer = hs.get_replication_client() self.state_handler = hs.get_state_handler() self.server_name = hs.hostname self.keyring = hs.get_keyring() @@ -78,8 +78,6 @@ class FederationHandler(BaseHandler): self.spam_checker = hs.get_spam_checker() self.event_creation_handler = hs.get_event_creation_handler() - self.replication_layer.set_handler(self) - # When joining a room we need to queue any events for that room up self.room_queues = {} self._room_pdu_linearizer = Linearizer("fed_room_pdu") |