summary refs log tree commit diff
path: root/synapse/app/homeserver.py
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-11-20 13:53:34 +0000
committerDavid Baker <dbkr@matrix.org>2014-11-20 13:53:34 +0000
commitdc60eee50e0a16ec24d10398c82f6fb64eec9ccc (patch)
tree00dcfae0a19aee5a8752d8f29959213f220682d7 /synapse/app/homeserver.py
parentCaptchaServerHttpClient should extend the base, not matrix http client. (diff)
downloadsynapse-dc60eee50e0a16ec24d10398c82f6fb64eec9ccc.tar.xz
Refactor the HTTP clients a little.
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-xsynapse/app/homeserver.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py

index 85284a4919..8f7d0cd749 100755 --- a/synapse/app/homeserver.py +++ b/synapse/app/homeserver.py
@@ -26,7 +26,7 @@ from twisted.web.server import Site from synapse.http.server import JsonResource, RootRedirect from synapse.http.content_repository import ContentRepoResource from synapse.http.server_key_resource import LocalKey -from synapse.http.client import MatrixHttpClient +from synapse.http.client import MatrixFederationHttpClient from synapse.api.urls import ( CLIENT_PREFIX, FEDERATION_PREFIX, WEB_CLIENT_PREFIX, CONTENT_REPO_PREFIX, SERVER_KEY_PREFIX, @@ -51,7 +51,7 @@ logger = logging.getLogger(__name__) class SynapseHomeServer(HomeServer): def build_http_client(self): - return MatrixHttpClient(self) + return MatrixFederationHttpClient(self) def build_resource_for_client(self): return JsonResource()