mirror of https://github.com/M66B/FairEmail.git
Fixed widget update
This commit is contained in:
parent
66bad2312f
commit
383cafdd20
|
@ -300,7 +300,7 @@ public interface DaoMessage {
|
||||||
" WHERE message.id = :id")
|
" WHERE message.id = :id")
|
||||||
LiveData<TupleMessageEx> liveMessage(long id);
|
LiveData<TupleMessageEx> liveMessage(long id);
|
||||||
|
|
||||||
@Query("SELECT account.id, COUNT(message.id) AS unseen, SUM(ABS(notifying)) AS notifying" +
|
@Query("SELECT account.id AS account, COUNT(message.id) AS unseen, SUM(ABS(notifying)) AS notifying" +
|
||||||
" FROM message" +
|
" FROM message" +
|
||||||
" JOIN account ON account.id = message.account" +
|
" JOIN account ON account.id = message.account" +
|
||||||
" JOIN folder ON folder.id = message.folder" +
|
" JOIN folder ON folder.id = message.folder" +
|
||||||
|
|
Loading…
Reference in New Issue