summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-09-10 16:22:51 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2019-09-10 16:22:51 +0100
commit649dcbefcb13a21f9087aefa712eaaa91c31d198 (patch)
tree8a4c4eaa31794989e3e81e6e80e12db3136d682b
parentlint (diff)
downloadsynapse-649dcbefcb13a21f9087aefa712eaaa91c31d198.tar.xz
id_access_token -> access_token in query params
-rw-r--r--synapse/handlers/room_member.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py
index 90ea674e49..1b49779152 100644
--- a/synapse/handlers/room_member.py
+++ b/synapse/handlers/room_member.py
@@ -781,7 +781,7 @@ class RoomMemberHandler(object):
             # Check what hashing details are supported by this identity server
             hash_details = yield self.simple_http_client.get_json(
                 "%s%s/_matrix/identity/v2/hash_details" % (id_server_scheme, id_server),
-                {"id_access_token": id_access_token},
+                {"access_token": id_access_token},
             )
         except HttpResponseException as e:
             if e.code == 404:
@@ -852,7 +852,7 @@ class RoomMemberHandler(object):
             lookup_results = yield self.simple_http_client.post_json_get_json(
                 "%s%s/_matrix/identity/v2/lookup" % (id_server_scheme, id_server),
                 {
-                    "id_access_token": id_access_token,
+                    "access_token": id_access_token,
                     "addresses": [lookup_value],
                     "algorithm": lookup_algorithm,
                     "pepper": lookup_pepper,