mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 21:34:44 +02:00
Added update account / quick setup
This commit is contained in:
@@ -220,6 +220,12 @@ public interface DaoAccount {
|
||||
" AND NOT (password IS :password AND auth_type = :auth_type)")
|
||||
int setAccountPassword(long id, String password, int auth_type);
|
||||
|
||||
@Query("UPDATE account" +
|
||||
" SET fingerprint = :fingerprint" +
|
||||
" WHERE id = :id" +
|
||||
" AND NOT (fingerprint IS :fingerprint)")
|
||||
int setAccountFingerprint(long id, String fingerprint);
|
||||
|
||||
@Query("UPDATE account SET last_connected = :last_connected WHERE id = :id AND NOT (last_connected IS :last_connected)")
|
||||
int setAccountConnected(long id, Long last_connected);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user