mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Reset FTS on disabling account
This commit is contained in:
@@ -571,6 +571,8 @@ public class FragmentGmail extends FragmentBase {
|
||||
FragmentDialogSwipes.setDefaultFolderActions(context, account);
|
||||
|
||||
db.account().updateAccount(account);
|
||||
if (!account.synchronize)
|
||||
db.message().resetFts(account.id);
|
||||
|
||||
if (TextUtils.isEmpty(name))
|
||||
name = user.split("@")[0];
|
||||
|
||||
Reference in New Issue
Block a user