summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-08-14 10:05:06 +0100
committerKegan Dougal <kegan@matrix.org>2014-08-14 10:05:06 +0100
commit29aa13f0d4424729813bea99b84d34a3b3d4e68c (patch)
treeb3affb6c40d3501bd0c4a432a351b7f88e5051dc /synapse/federation
parentStart phasing out HttpServer: we should be using Resources instead. Added res... (diff)
downloadsynapse-29aa13f0d4424729813bea99b84d34a3b3d4e68c.tar.xz
Make federation use resource_for_federation as well.
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/__init__.py b/synapse/federation/__init__.py
index ac0c10dc33..b15e7cf941 100644
--- a/synapse/federation/__init__.py
+++ b/synapse/federation/__init__.py
@@ -23,7 +23,7 @@ from .transport import TransportLayer
 def initialize_http_replication(homeserver):
     transport = TransportLayer(
         homeserver.hostname,
-        server=homeserver.get_http_server(),
+        server=homeserver.get_resource_for_federation(),
         client=homeserver.get_http_client()
     )