mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Max 3 search suggestions
This commit is contained in:
@@ -593,8 +593,8 @@ public interface DaoMessage {
|
||||
" GROUP BY sender" +
|
||||
|
||||
" ORDER BY sender, subject" +
|
||||
" LIMIT 5")
|
||||
Cursor getSuggestions(Long account, Long folder, String query);
|
||||
" LIMIT :limit")
|
||||
Cursor getSuggestions(Long account, Long folder, String query, int limit);
|
||||
|
||||
@Query("SELECT language FROM message" +
|
||||
" WHERE (:account IS NULL OR message.account = :account)" +
|
||||
|
||||
Reference in New Issue
Block a user