summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-11-03 02:08:02 +0000
committerMatthew Hodgson <matthew@matrix.org>2018-11-03 02:08:02 +0000
commit9925a2f8dcf5b2e2b4a89a641da3201f69966c5b (patch)
treec34857761cad441979db31ef47873cea4ed5a1f0
parentadd shadowing for /password and fix bugs (diff)
downloadsynapse-9925a2f8dcf5b2e2b4a89a641da3201f69966c5b.tar.xz
fix missing clients
-rw-r--r--synapse/rest/client/v2_alpha/account.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/rest/client/v2_alpha/account.py b/synapse/rest/client/v2_alpha/account.py

index d80ce4b515..3a999ec770 100644 --- a/synapse/rest/client/v2_alpha/account.py +++ b/synapse/rest/client/v2_alpha/account.py
@@ -113,6 +113,7 @@ class PasswordRestServlet(RestServlet): self.auth_handler = hs.get_auth_handler() self.datastore = self.hs.get_datastore() self._set_password_handler = hs.get_set_password_handler() + self.http_client = hs.get_simple_http_client() @interactive_auth_handler @defer.inlineCallbacks @@ -409,6 +410,7 @@ class ThreepidDeleteRestServlet(RestServlet): self.hs = hs self.auth = hs.get_auth() self.auth_handler = hs.get_auth_handler() + self.http_client = hs.get_simple_http_client() @defer.inlineCallbacks def on_POST(self, request):