mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-05 06:22:52 +08:00
This commit is contained in:
parent
9deb36ba3e
commit
4f21cda9cd
1 changed files with 2 additions and 5 deletions
|
@ -69,11 +69,8 @@ class AccountsUserSettings {
|
||||||
this.identityForDeletion(null);
|
this.identityForDeletion(null);
|
||||||
|
|
||||||
if (identityToRemove) {
|
if (identityToRemove) {
|
||||||
IdentityStore.identities.remove((oIdentity) => identityToRemove === oIdentity);
|
IdentityStore.identities.remove(oIdentity => identityToRemove === oIdentity);
|
||||||
|
Remote.identityDelete(() => rl.app.accountsAndIdentities(), identityToRemove.id());
|
||||||
Remote.identityDelete(() => {
|
|
||||||
rl.app.accountsAndIdentities();
|
|
||||||
}, identityToRemove.id);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue