summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/identity.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/synapse/handlers/identity.py b/synapse/handlers/identity.py
index 3ddd834c61..ad8246b58c 100644
--- a/synapse/handlers/identity.py
+++ b/synapse/handlers/identity.py
@@ -52,7 +52,7 @@ class IdentityHandler(BaseHandler):
         data = {}
         try:
             data = yield http_client.get_json(
-                "http://%s%s" % (
+                "https://%s%s" % (
                     creds['id_server'],
                     "/_matrix/identity/api/v1/3pid/getValidated3pid"
                 ),
@@ -73,8 +73,7 @@ class IdentityHandler(BaseHandler):
         data = None
         try:
             data = yield http_client.post_urlencoded_get_json(
-                # XXX: Change when ID servers are all HTTPS
-                "http://%s%s" % (
+                "https://%s%s" % (
                     creds['id_server'], "/_matrix/identity/api/v1/3pid/bind"
                 ),
                 {