Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #452 from matrix-org/paul/SYN-558
Browse files Browse the repository at this point in the history
Actually look up required remote server key IDs
  • Loading branch information
NegativeMjark committed Dec 21, 2015
2 parents f85949b + a6ba41e commit 42a7a09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion synapse/crypto/keyring.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,9 @@ def do_iterations():

missing_keys = {}
for group in group_id_to_group.values():
missing_keys.setdefault(group.server_name, set()).union(group.key_ids)
missing_keys.setdefault(group.server_name, set()).update(
group.key_ids
)

for fn in key_fetch_fns:
results = yield fn(missing_keys.items())
Expand Down

0 comments on commit 42a7a09

Please sign in to comment.