mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-29 00:51:44 +01:00
Identities will only synchronize of account is synchronizing
This commit is contained in:
@@ -33,7 +33,10 @@ public interface DaoIdentity {
|
||||
" JOIN account ON account.id = identity.account")
|
||||
LiveData<List<TupleIdentityEx>> liveIdentities();
|
||||
|
||||
@Query("SELECT * FROM identity WHERE synchronize = :synchronize")
|
||||
@Query("SELECT identity.* FROM identity" +
|
||||
" JOIN account ON account.id = identity.account" +
|
||||
" WHERE account.synchronize = :synchronize" +
|
||||
" AND identity.synchronize = :synchronize")
|
||||
LiveData<List<EntityIdentity>> liveIdentities(boolean synchronize);
|
||||
|
||||
@Query("SELECT * FROM identity")
|
||||
|
||||
Reference in New Issue
Block a user