Drop notify requirement for message count widget

This commit is contained in:
M66B
2020-01-19 14:47:07 +01:00
parent fb8a3fc817
commit a894e615b5

View File

@@ -322,7 +322,6 @@ public interface DaoMessage {
" JOIN folder ON folder.id = message.folder" +
" WHERE (:account IS NULL OR account.id = :account)" +
" AND account.`synchronize`" +
" AND folder.notify" +
" AND NOT (message.ui_seen OR message.ui_hide)" +
" GROUP BY account.id" +
" ORDER BY account.id")
@@ -334,7 +333,6 @@ public interface DaoMessage {
" JOIN folder ON folder.id = message.folder" +
" WHERE (:account IS NULL OR account.id = :account)" +
" AND account.`synchronize`" +
" AND folder.notify" +
" AND NOT (message.ui_seen OR message.ui_hide)")
TupleMessageStats getUnseenWidget(Long account);