mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Limit number of messages in widget
This commit is contained in:
@@ -607,8 +607,9 @@ public interface DaoMessage {
|
||||
" AND (NOT :flagged OR message.ui_flagged)" +
|
||||
" GROUP BY account.id" +
|
||||
", CASE WHEN message.thread IS NULL OR NOT :threading THEN message.id ELSE message.thread END" +
|
||||
" ORDER BY message.received DESC")
|
||||
List<TupleMessageWidget> getWidgetUnified(Long account, Long folder, boolean threading, boolean unseen, boolean flagged);
|
||||
" ORDER BY message.received DESC" +
|
||||
" LIMIT :limit")
|
||||
List<TupleMessageWidget> getWidgetUnified(Long account, Long folder, boolean threading, boolean unseen, boolean flagged, int limit);
|
||||
|
||||
@Query("SELECT uid FROM message" +
|
||||
" WHERE folder = :folder" +
|
||||
|
||||
Reference in New Issue
Block a user