mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-26 15:40:59 +01:00
Refactoring
This commit is contained in:
@@ -164,8 +164,9 @@ public interface DaoMessage {
|
||||
" WHERE account = :account" +
|
||||
" AND thread = :thread" +
|
||||
" AND (:id IS NULL OR message.id = :id)" +
|
||||
" AND (:folder IS NULL OR message.folder = :folder)" +
|
||||
" AND ui_found = :found")
|
||||
List<EntityMessage> getMessageByThread(long account, String thread, Long id, boolean found);
|
||||
List<EntityMessage> getMessageByThread(long account, String thread, Long id, Long folder, boolean found);
|
||||
|
||||
@Query("SELECT message.* FROM message" +
|
||||
" JOIN folder ON folder.id = message.folder" +
|
||||
|
||||
Reference in New Issue
Block a user