Revert "Reset FTS on disabling account"

This reverts commit 0403c81bd5.
This commit is contained in:
M66B
2023-12-20 21:02:59 +01:00
parent 435aa733d6
commit 1f454909d3
10 changed files with 10 additions and 26 deletions

View File

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