mirror of
https://github.com/moparisthebest/mail
synced 2024-11-29 20:32:15 -05:00
[WO-526] Fix key activation race condition
Add imported flag to public key to avoid unnecessary check for deletion/update of personal public key, same behavior as imported public keys
This commit is contained in:
parent
c75e365c65
commit
54c9ca3a73
@ -825,6 +825,9 @@ define(function(require) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// don't check the user's own public key for deletion in refreshKeyForUserId
|
||||||
|
keypair.publicKey.imported = true;
|
||||||
|
|
||||||
// store public key locally
|
// store public key locally
|
||||||
self.saveLocalPublicKey(keypair.publicKey, function(err) {
|
self.saveLocalPublicKey(keypair.publicKey, function(err) {
|
||||||
if (err) {
|
if (err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user