mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Add a missing yield in device key upload
(this would only very very rarely actually be a useful thing, so the main problem was the logcontext leak...)
This commit is contained in:
parent
35e0cfb54d
commit
e08f81d96a
@ -316,7 +316,7 @@ class E2eKeysHandler(object):
|
|||||||
# old access_token without an associated device_id. Either way, we
|
# old access_token without an associated device_id. Either way, we
|
||||||
# need to double-check the device is registered to avoid ending up with
|
# need to double-check the device is registered to avoid ending up with
|
||||||
# keys without a corresponding device.
|
# keys without a corresponding device.
|
||||||
self.device_handler.check_device_registered(user_id, device_id)
|
yield self.device_handler.check_device_registered(user_id, device_id)
|
||||||
|
|
||||||
result = yield self.store.count_e2e_one_time_keys(user_id, device_id)
|
result = yield self.store.count_e2e_one_time_keys(user_id, device_id)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user