mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-10 18:01:08 -05:00
make sure we actually return something
This commit is contained in:
parent
2208891ace
commit
7a0dce9259
2 changed files with 9 additions and 2 deletions
|
|
@ -248,6 +248,11 @@ class E2eKeysHandler(object):
|
|||
|
||||
results = yield self.store.get_e2e_device_keys(local_query)
|
||||
|
||||
# Build the result structure
|
||||
for user_id, device_keys in results.items():
|
||||
for device_id, device_info in device_keys.items():
|
||||
result_dict[user_id][device_id] = device_info
|
||||
|
||||
log_kv(results)
|
||||
return result_dict
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue