mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 11:01:23 +01:00
Allow enable/disable account/identity/folder from list
This commit is contained in:
@@ -102,6 +102,9 @@ public interface DaoAccount {
|
||||
@Update
|
||||
void updateAccount(EntityAccount account);
|
||||
|
||||
@Query("UPDATE account SET synchronize = :synchronize WHERE id = :id")
|
||||
int setAccountSynchronize(long id, boolean synchronize);
|
||||
|
||||
@Query("UPDATE account SET state = :state WHERE id = :id")
|
||||
int setAccountState(long id, String state);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user