summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-07-21 11:45:53 +0100
committerErik Johnston <erik@matrix.org>2016-07-21 11:45:53 +0100
commitcf94a78872397fd97465b4704465a2d03d27d41e (patch)
tree86bd3ff2126df802708f9e89d060f1f3e43ae47b
parentSend the correct host header when fetching keys (diff)
downloadsynapse-cf94a78872397fd97465b4704465a2d03d27d41e.tar.xz
Set host not path
-rw-r--r--synapse/crypto/keyclient.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/crypto/keyclient.py b/synapse/crypto/keyclient.py
index 4fca215c97..1d85990369 100644
--- a/synapse/crypto/keyclient.py
+++ b/synapse/crypto/keyclient.py
@@ -135,5 +135,5 @@ class SynapseKeyClientFactory(Factory):
     def protocol(self):
         protocol = SynapseKeyClientProtocol()
         protocol.path = self.path
-        protocol.path = self.host
+        protocol.host = self.host
         return protocol