mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-04 06:20:26 +00:00
Notify connected synchronizing accounts only
This commit is contained in:
parent
39fe10a53d
commit
8ef7c2346b
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ public interface DaoAccount {
|
||||||
LiveData<EntityAccount> liveAccount(long id);
|
LiveData<EntityAccount> liveAccount(long id);
|
||||||
|
|
||||||
@Query("SELECT" +
|
@Query("SELECT" +
|
||||||
" (SELECT COUNT(account.id) FROM account WHERE synchronize) AS accounts" +
|
" (SELECT COUNT(account.id) FROM account WHERE synchronize AND state = 'connected') AS accounts" +
|
||||||
", (SELECT COUNT(operation.id) FROM operation" +
|
", (SELECT COUNT(operation.id) FROM operation" +
|
||||||
" JOIN message ON message.id = operation.message" +
|
" JOIN message ON message.id = operation.message" +
|
||||||
" JOIN account ON account.id = message.account" +
|
" JOIN account ON account.id = message.account" +
|
||||||
|
|
Loading…
Reference in a new issue