mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-28 16:40:53 +01:00
Show account/folder connectivity
This commit is contained in:
@@ -68,6 +68,15 @@ public interface DaoAccount {
|
||||
@Update
|
||||
void updateAccount(EntityAccount account);
|
||||
|
||||
@Query("UPDATE account SET seen_until = :time WHERE id = :id")
|
||||
int setAccountSeenUntil(long id, long time);
|
||||
|
||||
@Query("UPDATE account SET state = :state WHERE id = :id")
|
||||
int setAccountState(long id, String state);
|
||||
|
||||
@Query("UPDATE account SET error = :error WHERE id = :id")
|
||||
int setAccountError(long id, String error);
|
||||
|
||||
@Query("UPDATE account SET `primary` = 0")
|
||||
void resetPrimary();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user