mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Added batch folder poll
This commit is contained in:
@@ -264,11 +264,12 @@ public interface DaoFolder {
|
||||
int sync_days, int keep_days, boolean auto_delete);
|
||||
|
||||
@Query("UPDATE folder" +
|
||||
" SET `sync_days` = :sync_days" +
|
||||
", `keep_days` = :keep_days" +
|
||||
" SET poll = :poll" +
|
||||
", sync_days = :sync_days" +
|
||||
", keep_days = :keep_days" +
|
||||
" WHERE account = :account" +
|
||||
" AND type = '" + EntityFolder.USER + "'")
|
||||
int setFolderProperties(long account, int sync_days, int keep_days);
|
||||
int setFolderProperties(long account, boolean poll, int sync_days, int keep_days);
|
||||
|
||||
@Query("UPDATE folder SET keywords = :keywords WHERE id = :id")
|
||||
int setFolderKeywords(long id, String keywords);
|
||||
|
||||
Reference in New Issue
Block a user