Auto force on repeated manual sync

This commit is contained in:
M66B
2021-12-07 09:16:36 +01:00
parent b019d17c06
commit d1600ad188
5 changed files with 2646 additions and 2 deletions

View File

@@ -350,6 +350,9 @@ public interface DaoFolder {
@Query("UPDATE folder SET last_sync = :last_sync WHERE id = :id AND NOT (last_sync IS :last_sync)")
int setFolderLastSync(long id, long last_sync);
@Query("UPDATE folder SET last_sync_foreground = :last_sync_foreground WHERE id = :id AND NOT (last_sync_foreground IS :last_sync_foreground)")
int setFolderLastSyncForeground(long id, long last_sync_foreground);
@Query("UPDATE folder SET last_sync_count = :last_sync_count WHERE id = :id AND NOT (last_sync_count IS :last_sync_count)")
int setFolderLastSyncCount(long id, Integer last_sync_count);