djmaze 2020-10-30 16:42:01 +01:00
parent 9deb36ba3e
commit 4f21cda9cd

View file

@ -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());
}
}
}