This commit is contained in:
Hubert Chathi 2019-08-28 17:18:40 -07:00
parent 3b0b22cb05
commit 96bda56370

View File

@ -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(