diff options
author | Richard van der Hoff <richard@matrix.org> | 2020-04-20 17:55:39 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2020-04-20 17:55:39 +0100 |
commit | 461f01ad43d7d572da626f637ddeb018cad9fcbb (patch) | |
tree | 9a33f6d1009213b8965b4340fc11d55c0d6fb6d5 /synapse/federation/transport/client.py | |
parent | Merge branch 'release-v1.12.4' into develop (diff) | |
parent | Revert "Query missing cross-signing keys on local sig upload" (diff) | |
download | synapse-461f01ad43d7d572da626f637ddeb018cad9fcbb.tar.xz |
Merge branch 'release-v1.12.4' into develop
Diffstat (limited to 'synapse/federation/transport/client.py')
-rw-r--r-- | synapse/federation/transport/client.py | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/synapse/federation/transport/client.py b/synapse/federation/transport/client.py index c35637a571..dc563538de 100644 --- a/synapse/federation/transport/client.py +++ b/synapse/federation/transport/client.py @@ -406,19 +406,13 @@ class TransportLayerClient(object): "device_keys": { "<user_id>": { "<device_id>": {...} - } } - "master_keys": { - "<user_id>": {...} - } } - "self_signing_keys": { - "<user_id>": {...} } } } Args: destination(str): The server to query. query_content(dict): The user ids to query. Returns: - A dict containing device and cross-signing keys. + A dict containg the device keys. """ path = _create_v1_path("/user/keys/query") @@ -435,16 +429,14 @@ class TransportLayerClient(object): Response: { "stream_id": "...", - "devices": [ { ... } ], - "master_key": { ... }, - "self_signing_key: { ... } + "devices": [ { ... } ] } Args: destination(str): The server to query. query_content(dict): The user ids to query. Returns: - A dict containing device and cross-signing keys. + A dict containg the device keys. """ path = _create_v1_path("/user/devices/%s", user_id) |