diff options
author | Erik Johnston <erik@matrix.org> | 2016-01-26 13:52:29 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-01-26 13:52:29 +0000 |
commit | 9959d9ece84d85dae3ed06b22e3f234575b93fd1 (patch) | |
tree | e5d4fd2289abdac72f2a7bf9f0a0dda2e0bb72f5 /synapse/federation/__init__.py | |
parent | Merge pull request #524 from matrix-org/erikj/sync (diff) | |
download | synapse-9959d9ece84d85dae3ed06b22e3f234575b93fd1.tar.xz |
Remove redundated BaseHomeServer
Diffstat (limited to 'synapse/federation/__init__.py')
-rw-r--r-- | synapse/federation/__init__.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/synapse/federation/__init__.py b/synapse/federation/__init__.py index 0bfb79d09f..979fdf2431 100644 --- a/synapse/federation/__init__.py +++ b/synapse/federation/__init__.py @@ -17,15 +17,10 @@ """ from .replication import ReplicationLayer -from .transport import TransportLayer +from .transport.client import TransportLayerClient def initialize_http_replication(homeserver): - transport = TransportLayer( - homeserver, - homeserver.hostname, - server=homeserver.get_resource_for_federation(), - client=homeserver.get_http_client() - ) + transport = TransportLayerClient(homeserver) return ReplicationLayer(homeserver, transport) |