mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-25 01:06:04 +00:00
Prevent updating deleted accounts
This commit is contained in:
parent
55765d6617
commit
31a215d92b
1 changed files with 2 additions and 1 deletions
|
@ -155,7 +155,8 @@ public interface DaoAccount {
|
|||
|
||||
@Query("SELECT * FROM account" +
|
||||
" WHERE user = :user" +
|
||||
" AND auth_type IN (:auth_type)")
|
||||
" AND auth_type IN (:auth_type)" +
|
||||
" AND tbd IS NULL")
|
||||
List<EntityAccount> getAccounts(String user, int[] auth_type);
|
||||
|
||||
@Query("SELECT * FROM account WHERE `primary`")
|
||||
|
|
Loading…
Reference in a new issue