mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Hide found messages on move
This commit is contained in:
@@ -826,8 +826,8 @@ public interface DaoMessage {
|
||||
" OR (:folder IS NULL AND :type IS NULL AND unified)))")
|
||||
int ignoreAll(Long account, Long folder, String type);
|
||||
|
||||
@Query("UPDATE message SET ui_found = 1 WHERE id = :id AND NOT (ui_found IS 1)")
|
||||
int setMessageFound(long id);
|
||||
@Query("UPDATE message SET ui_found = :found WHERE id = :id AND NOT (ui_found IS :found)")
|
||||
int setMessageFound(long id, boolean found);
|
||||
|
||||
@Query("UPDATE message SET ui_found = 0 WHERE NOT (ui_found IS 0)")
|
||||
int resetSearch();
|
||||
|
||||
Reference in New Issue
Block a user