mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-18 18:17:47 -04:00
Revert "Query missing cross-signing keys on local sig upload"
This was incorrectly merged to the release branch before it was ready.
This reverts commit 72fe2affb6
.
This commit is contained in:
parent
40f79f58bf
commit
d41c8f6d4d
3 changed files with 12 additions and 141 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue