Show account/folder connectivity

This commit is contained in:
M66B
2018-08-13 14:44:47 +00:00
parent 6bba997cce
commit e72b1a7a3d
142 changed files with 210 additions and 111 deletions

View File

@@ -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();