Show most recent 10 new message notifications

This commit is contained in:
M66B
2020-08-06 10:27:55 +02:00
parent bce427a510
commit e9c75cab59
2 changed files with 2 additions and 2 deletions

View File

@@ -476,7 +476,7 @@ public interface DaoMessage {
" 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))" +
" ORDER BY message.received")
" ORDER BY message.received DESC")
LiveData<List<TupleMessageEx>> liveUnseenNotify();
@Transaction