diff --git a/app/src/main/java/eu/faircode/email/DaoMessage.java b/app/src/main/java/eu/faircode/email/DaoMessage.java index 46816fa1ff..10ea7165a2 100644 --- a/app/src/main/java/eu/faircode/email/DaoMessage.java +++ b/app/src/main/java/eu/faircode/email/DaoMessage.java @@ -479,7 +479,8 @@ public interface DaoMessage { " WHERE sender LIKE :query" + " AND NOT message.ui_hide" + " GROUP BY sender" + - " ORDER BY sender, subject") + " ORDER BY sender, subject" + + " LIMIT 5") Cursor getSuggestions(String query); @Query("SELECT language FROM message" +