Skip to content
Snippets Groups Projects
Commit cea462e2 authored by Erik Johnston's avatar Erik Johnston
Browse files

s/replication_server/federation_server

parent ea7b3c4b
No related branches found
No related tags found
No related merge requests found
......@@ -1190,7 +1190,7 @@ GROUP_ATTESTATION_SERVLET_CLASSES = (
def register_servlets(hs, resource, authenticator, ratelimiter):
for servletclass in FEDERATION_SERVLET_CLASSES:
servletclass(
handler=hs.get_replication_server(),
handler=hs.get_federation_server(),
authenticator=authenticator,
ratelimiter=ratelimiter,
server_name=hs.hostname,
......
......@@ -102,7 +102,7 @@ class HomeServer(object):
'http_client',
'db_pool',
'replication_client',
'replication_server',
'federation_server',
'handlers',
'v1auth',
'auth',
......@@ -202,7 +202,7 @@ class HomeServer(object):
def build_replication_client(self):
return FederationClient(self)
def build_replication_server(self):
def build_federation_server(self):
return FederationServer(self)
def build_handlers(self):
......
......@@ -52,7 +52,7 @@ class ProfileTestCase(unittest.TestCase):
handlers=None,
resource_for_federation=Mock(),
replication_client=self.mock_federation,
replication_server=Mock(),
federation_server=Mock(),
federation_registry=self.mock_registry,
ratelimiter=NonCallableMock(spec_set=[
"send_message",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment