summary refs log tree commit diff
path: root/synapse/handlers/directory.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-03-12 14:34:31 +0000
committerErik Johnston <erik@matrix.org>2018-03-13 10:55:47 +0000
commit265b993b8afd2501b2aa3a50670f39d6d97eddb7 (patch)
tree65949cc5f26498dde00051dfb552073f5a541485 /synapse/handlers/directory.py
parentMove property setting from ReplicationLayer to FederationBase (diff)
downloadsynapse-265b993b8afd2501b2aa3a50670f39d6d97eddb7.tar.xz
Split replication layer into two
Diffstat (limited to 'synapse/handlers/directory.py')
-rw-r--r--synapse/handlers/directory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/directory.py b/synapse/handlers/directory.py
index e955cb1f3c..dfe04eb1c1 100644
--- a/synapse/handlers/directory.py
+++ b/synapse/handlers/directory.py
@@ -36,7 +36,7 @@ class DirectoryHandler(BaseHandler):
         self.appservice_handler = hs.get_application_service_handler()
         self.event_creation_handler = hs.get_event_creation_handler()
 
-        self.federation = hs.get_replication_layer()
+        self.federation = hs.get_replication_client()
         hs.get_federation_registry().register_query_handler(
             "directory", self.on_directory_query
         )