mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 21:58:52 +02:00
Apply to all: enable/disable sync
This commit is contained in:
@@ -325,10 +325,9 @@ public interface DaoFolder {
|
||||
|
||||
@Query("UPDATE folder" +
|
||||
" SET sync_days = :sync_days, keep_days = :keep_days" +
|
||||
" WHERE account = :account" +
|
||||
" AND type = '" + EntityFolder.USER + "'" +
|
||||
" AND (NOT (sync_days IS :sync_days) OR NOT (keep_days IS :keep_days))")
|
||||
int setFolderProperties(long account, int sync_days, int keep_days);
|
||||
" WHERE id = :id" +
|
||||
" AND NOT (sync_days IS :sync_days AND keep_days IS :keep_days)")
|
||||
int setFolderProperties(long id, int sync_days, int keep_days);
|
||||
|
||||
@Query("UPDATE folder SET keywords = :keywords WHERE id = :id AND NOT (keywords IS :keywords)")
|
||||
int setFolderKeywords(long id, String keywords);
|
||||
|
||||
Reference in New Issue
Block a user