Fixed widget update

This commit is contained in:
M66B 2020-01-06 12:36:37 +01:00
parent 66bad2312f
commit 383cafdd20
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ public interface DaoMessage {
" WHERE message.id = :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" +
" JOIN account ON account.id = message.account" +
" JOIN folder ON folder.id = message.folder" +