mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-02 21:12:02 +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);
|
||||
|
||||
if (identityToRemove) {
|
||||
IdentityStore.identities.remove((oIdentity) => identityToRemove === oIdentity);
|
||||
|
||||
Remote.identityDelete(() => {
|
||||
rl.app.accountsAndIdentities();
|
||||
}, identityToRemove.id);
|
||||
IdentityStore.identities.remove(oIdentity => identityToRemove === oIdentity);
|
||||
Remote.identityDelete(() => rl.app.accountsAndIdentities(), identityToRemove.id());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue