mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 21:44:52 -04:00
update to work with newer code, and fix formatting
This commit is contained in:
parent
41ad35b523
commit
1fabf82d50
3 changed files with 7 additions and 6 deletions
|
@ -214,7 +214,7 @@ class DeviceWorkerStore(SQLBaseStore):
|
|||
# figure out which cross-signing keys were changed by intersecting the
|
||||
# update list with the master/self-signing key by user maps
|
||||
cross_signing_keys_by_user = {}
|
||||
for user_id, device_id, stream in updates:
|
||||
for user_id, device_id, stream, _opentracing_context in updates:
|
||||
if device_id == master_key_by_user.get(user_id, {}).get("pubkey", None):
|
||||
result = cross_signing_keys_by_user.setdefault(user_id, {})
|
||||
result["master_key"] = master_key_by_user[user_id]["key_info"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue