summary refs log tree commit diff
path: root/synapse/server.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2018-03-13 15:45:08 +0000
committerGitHub <noreply@github.com>2018-03-13 15:45:08 +0000
commit95cb401ae0de03af6b939f0bf368386b7a3a3dd9 (patch)
treeb083580d759e063bb51bc15ca801a31a5503f6ea /synapse/server.py
parentMerge pull request #2981 from matrix-org/erikj/factor_remote_leave (diff)
parents/replication_client/federation_client/ (diff)
downloadsynapse-95cb401ae0de03af6b939f0bf368386b7a3a3dd9.tar.xz
Merge pull request #2978 from matrix-org/erikj/refactor_replication_layer
Remove ReplicationLayer and user Client/Server directly
Diffstat (limited to 'synapse/server.py')
-rw-r--r--synapse/server.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/synapse/server.py b/synapse/server.py
index 894e9c2acf..43c6e0a6d6 100644
--- a/synapse/server.py
+++ b/synapse/server.py
@@ -101,8 +101,8 @@ class HomeServer(object):
     DEPENDENCIES = [
         'http_client',
         'db_pool',
-        'replication_client',
-        'replication_server',
+        'federation_client',
+        'federation_server',
         'handlers',
         'v1auth',
         'auth',
@@ -199,10 +199,10 @@ class HomeServer(object):
     def get_ratelimiter(self):
         return self.ratelimiter
 
-    def build_replication_client(self):
+    def build_federation_client(self):
         return FederationClient(self)
 
-    def build_replication_server(self):
+    def build_federation_server(self):
         return FederationServer(self)
 
     def build_handlers(self):