mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Fixed composable identities
This commit is contained in:
@@ -37,8 +37,8 @@ public interface DaoIdentity {
|
||||
@Query("SELECT identity.*, account.name AS accountName FROM identity" +
|
||||
" JOIN account ON account.id = identity.account" +
|
||||
" JOIN folder ON folder.account = identity.account AND folder.type = '" + EntityFolder.DRAFTS + "'" +
|
||||
" WHERE NOT :synchronize OR account.synchronize")
|
||||
List<TupleIdentityEx> getComposableIdentities(boolean synchronize);
|
||||
" WHERE identity.synchronize AND account.synchronize")
|
||||
List<TupleIdentityEx> getComposableIdentities();
|
||||
|
||||
@Query("SELECT * FROM identity WHERE account = :account")
|
||||
List<EntityIdentity> getIdentities(long account);
|
||||
|
||||
Reference in New Issue
Block a user