mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Cloud sync: switches for send/receive
This commit is contained in:
@@ -153,6 +153,11 @@ public interface DaoIdentity {
|
||||
@Query("UPDATE identity SET `primary` = 0 WHERE account = :account AND NOT (`primary` IS 0)")
|
||||
void resetPrimary(long account);
|
||||
|
||||
@Query("UPDATE identity" +
|
||||
" SET last_modified = :last_modified" +
|
||||
" WHERE id = :id")
|
||||
int setIdentityLastModified(long id, Long last_modified);
|
||||
|
||||
@Query("DELETE FROM identity WHERE id = :id")
|
||||
int deleteIdentity(long id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user