mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 05:15:13 +02:00
Unhide on sync when no pending operations
This commit is contained in:
@@ -59,6 +59,11 @@ public interface DaoOperation {
|
||||
" AND (:name IS NULL OR operation.name = :name)")
|
||||
int getOperationCount(long folder, String name);
|
||||
|
||||
@Query("SELECT COUNT(id) FROM operation" +
|
||||
" WHERE folder = :folder" +
|
||||
" AND message = :message")
|
||||
int getOperationCount(long folder, long message);
|
||||
|
||||
@Query("UPDATE operation SET error = :error WHERE id = :id")
|
||||
int setOperationError(long id, String error);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user