mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-07 05:15:43 +01:00
Bringing back XOAuth2
This commit is contained in:
@@ -105,6 +105,9 @@ public interface DaoAccount {
|
||||
@Update
|
||||
void updateAccount(EntityAccount account);
|
||||
|
||||
@Query("UPDATE account SET password = :password WHERE password = :old")
|
||||
int updateAccountPassword(String old, String password);
|
||||
|
||||
@Query("UPDATE account SET separator = :separator WHERE id = :id")
|
||||
int setFolderSeparator(long id, Character separator);
|
||||
|
||||
@@ -117,9 +120,6 @@ public interface DaoAccount {
|
||||
@Query("UPDATE account SET last_connected = :last_connected WHERE id = :id")
|
||||
int setAccountConnected(long id, long last_connected);
|
||||
|
||||
@Query("UPDATE account SET password = :password WHERE id = :id")
|
||||
int setAccountPassword(long id, String password);
|
||||
|
||||
@Query("UPDATE account SET `order` = :order WHERE id = :id")
|
||||
int setAccountOrder(long id, Integer order);
|
||||
|
||||
@@ -129,9 +129,6 @@ public interface DaoAccount {
|
||||
@Query("UPDATE account SET error = :error WHERE id = :id")
|
||||
int setAccountError(long id, String error);
|
||||
|
||||
@Query("UPDATE account SET poll_interval = :poll_interval WHERE id = :id")
|
||||
int setAccountPollInterval(long id, int poll_interval);
|
||||
|
||||
@Query("UPDATE account SET `primary` = 0")
|
||||
void resetPrimary();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user