mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-08 01:53:25 +02:00
Cleanup headers of IMAP accounts
This commit is contained in:
@@ -735,6 +735,11 @@ public interface DaoMessage {
|
||||
@Query("UPDATE message SET notifying = 0")
|
||||
int clearNotifyingMessages();
|
||||
|
||||
@Query("UPDATE message SET headers = NULL" +
|
||||
" WHERE headers IS NOT NULL" +
|
||||
" AND account IN (SELECT id FROM account WHERE pop = " + EntityAccount.TYPE_IMAP + ")")
|
||||
int clearMessageHeaders();
|
||||
|
||||
@Query("UPDATE message SET fts = 0")
|
||||
int resetFts();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user