mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Added notifying ignore state
This commit is contained in:
@@ -475,7 +475,8 @@ public interface DaoMessage {
|
||||
" WHERE account.`synchronize`" +
|
||||
" AND folder.notify" +
|
||||
" AND (account.created IS NULL OR message.received > account.created OR message.sent > account.created)" +
|
||||
" AND (notifying <> 0 OR NOT (message.ui_seen OR message.ui_hide))" +
|
||||
" AND message.notifying <> " + EntityMessage.NOTIFYING_IGNORE +
|
||||
" AND (message.notifying <> 0 OR NOT (message.ui_seen OR message.ui_hide))" +
|
||||
" ORDER BY message.received DESC")
|
||||
LiveData<List<TupleMessageEx>> liveUnseenNotify();
|
||||
|
||||
@@ -487,6 +488,7 @@ public interface DaoMessage {
|
||||
" WHERE (:account IS NULL OR account.id = :account)" +
|
||||
" AND account.`synchronize`" +
|
||||
" AND folder.notify" +
|
||||
" AND message.notifying <> " + EntityMessage.NOTIFYING_IGNORE +
|
||||
" AND NOT (message.ui_seen OR message.ui_hide)" +
|
||||
" GROUP BY account.id" +
|
||||
" ORDER BY account.id")
|
||||
@@ -499,6 +501,7 @@ public interface DaoMessage {
|
||||
" WHERE (:account IS NULL OR account.id = :account)" +
|
||||
" AND account.`synchronize`" +
|
||||
" AND folder.notify" +
|
||||
" AND message.notifying <> " + EntityMessage.NOTIFYING_IGNORE +
|
||||
" AND NOT (message.ui_seen OR message.ui_hide)")
|
||||
TupleMessageStats getWidgetUnseen(Long account);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user