mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-07 13:33:08 +08:00
Ensure account gets final label since email can change during auth
This commit is contained in:
parent
346d85801b
commit
a028717a85
2 changed files with 4 additions and 1 deletions
|
@ -141,6 +141,9 @@ export async function finalizeAndValidateAccount(account) {
|
|||
if (account.settings.smtp_port) {
|
||||
account.settings.smtp_port /= 1;
|
||||
}
|
||||
if (account.label && account.label.includes('@')) {
|
||||
account.label = account.emailAddress;
|
||||
}
|
||||
|
||||
// Test connections to IMAP and SMTP
|
||||
const proc = new MailsyncProcess(AppEnv.getLoadSettings(), IdentityStore.identity(), account);
|
||||
|
|
2
mailsync
2
mailsync
|
@ -1 +1 @@
|
|||
Subproject commit 8609792b54767f09f4ba64b3a092142c29608ab7
|
||||
Subproject commit 47f0155bcb6b1ff52023f9d1006745807a69a7d1
|
Loading…
Reference in a new issue