Skip to content

Commit 79e807d

Browse files
committed
Merge remote-tracking branch 'origin/master' into issue-5668-add-thunderbird-attachments-support
2 parents 7922ee0 + a6c8f59 commit 79e807d

File tree

5 files changed

+184
-196
lines changed

5 files changed

+184
-196
lines changed

extension/js/common/settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export class Settings {
8888
if (!acctEmails.includes(acctEmail)) {
8989
throw new Error(`"${acctEmail}" is not a known account_email in "${JSON.stringify(acctEmails)}"`);
9090
}
91+
await GlobalStore.acctEmailsRemove(acctEmail);
9192
const storageIndexesToRemove: AccountIndex[] = [];
9293
const filter = AbstractStore.singleScopeRawIndex(acctEmail, '');
9394
if (!filter) {
@@ -190,7 +191,6 @@ export class Settings {
190191
}
191192
}
192193
await Settings.acctStorageReset(oldAcctEmail);
193-
await GlobalStore.acctEmailsRemove(oldAcctEmail);
194194
}
195195

196196
public static async renderPrvCompatFixUiAndWaitTilSubmittedByUser(

0 commit comments

Comments
 (0)