Drop notify requirement for message count widget

pull/172/head
M66B 5 years ago
parent fb8a3fc817
commit a894e615b5

@ -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);

Loading…
Cancel
Save