mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Revert "Reset FTS on disabling account"
This reverts commit 0403c81bd5.
This commit is contained in:
@@ -946,10 +946,8 @@ public interface DaoMessage {
|
||||
" AND account IN (SELECT id FROM account WHERE pop = " + EntityAccount.TYPE_IMAP + ")")
|
||||
int clearRawMessages();
|
||||
|
||||
@Query("UPDATE message SET fts = 0" +
|
||||
" WHERE NOT (fts IS 0)" +
|
||||
" AND (:account IS NULL OR message.account = :account)")
|
||||
int resetFts(Long account);
|
||||
@Query("UPDATE message SET fts = 0 WHERE NOT (fts IS 0)")
|
||||
int resetFts();
|
||||
|
||||
@Query("DELETE FROM message WHERE id = :id")
|
||||
int deleteMessage(long id);
|
||||
|
||||
Reference in New Issue
Block a user