diff options
author | Erik Johnston <erik@matrix.org> | 2016-01-29 13:52:12 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-01-29 13:52:12 +0000 |
commit | fd142c29d9af53fe76dcf0cb4e1ebe7aac5d28f2 (patch) | |
tree | fd4650925097b4014e8ce32619ab4956a0a89879 /synapse/federation/transport/client.py | |
parent | Bump version and changelog (diff) | |
parent | Bump AccountDataAndTagsChangeCache size (diff) | |
download | synapse-fd142c29d9af53fe76dcf0cb4e1ebe7aac5d28f2.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.12.1
Diffstat (limited to 'synapse/federation/transport/client.py')
-rw-r--r-- | synapse/federation/transport/client.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/federation/transport/client.py b/synapse/federation/transport/client.py index 949d01dea8..2b5d40ea7f 100644 --- a/synapse/federation/transport/client.py +++ b/synapse/federation/transport/client.py @@ -28,6 +28,10 @@ logger = logging.getLogger(__name__) class TransportLayerClient(object): """Sends federation HTTP requests to other servers""" + def __init__(self, hs): + self.server_name = hs.hostname + self.client = hs.get_http_client() + @log_function def get_room_state(self, destination, room_id, event_id): """ Requests all state for a given room from the given server at the |