mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-28 07:00:51 +03:00
black
This commit is contained in:
parent
3b0b22cb05
commit
96bda56370
1 changed files with 1 additions and 3 deletions
|
@ -530,9 +530,7 @@ class E2eKeysHandler(object):
|
||||||
# if everything checks out, then store the keys and send notifications
|
# if everything checks out, then store the keys and send notifications
|
||||||
deviceids = []
|
deviceids = []
|
||||||
if "master_key" in keys:
|
if "master_key" in keys:
|
||||||
yield self.store.set_e2e_cross_signing_key(
|
yield self.store.set_e2e_cross_signing_key(user_id, "master", master_key)
|
||||||
user_id, "master", master_key
|
|
||||||
)
|
|
||||||
deviceids.append(master_verify_key.version)
|
deviceids.append(master_verify_key.version)
|
||||||
if "self_signing_key" in keys:
|
if "self_signing_key" in keys:
|
||||||
yield self.store.set_e2e_cross_signing_key(
|
yield self.store.set_e2e_cross_signing_key(
|
||||||
|
|
Loading…
Reference in a new issue