mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 20:06:29 +01:00
Revert "Reset FTS on disabling account"
This reverts commit 0403c81bd5.
This commit is contained in:
@@ -670,11 +670,9 @@ public class FragmentPop extends FragmentBase {
|
||||
if (account.primary)
|
||||
db.account().resetPrimary();
|
||||
|
||||
if (update) {
|
||||
if (update)
|
||||
db.account().updateAccount(account);
|
||||
if (!account.synchronize)
|
||||
db.message().resetFts(account.id);
|
||||
} else
|
||||
else
|
||||
account.id = db.account().insertAccount(account);
|
||||
|
||||
args.putLong("account", account.id);
|
||||
|
||||
Reference in New Issue
Block a user