mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-26 23:50:58 +01:00
Limit number of records for widget
This commit is contained in:
@@ -278,7 +278,8 @@ public interface DaoMessage {
|
||||
" AND (NOT :unseen OR NOT message.ui_seen)" +
|
||||
" AND (NOT :flagged OR message.ui_flagged)" +
|
||||
" GROUP BY account.id, CASE WHEN message.thread IS NULL THEN message.id ELSE message.thread END" +
|
||||
" ORDER BY message.received DESC";
|
||||
" ORDER BY message.received DESC" +
|
||||
" LIMIT 50";
|
||||
|
||||
@Query(widget)
|
||||
@SuppressWarnings(RoomWarnings.CURSOR_MISMATCH)
|
||||
|
||||
Reference in New Issue
Block a user