Added move sent menu

This commit is contained in:
M66B
2018-10-23 17:44:36 +00:00
parent 009470cb8a
commit 9d53085249
4 changed files with 63 additions and 0 deletions

View File

@@ -152,6 +152,11 @@ public interface DaoMessage {
" AND ui_found = :found")
List<EntityMessage> getMessageByMsgId(long account, String msgid, String reference, boolean found);
@Query("SELECT * FROM message" +
" WHERE folder = :folder" +
" AND ui_seen")
List<EntityMessage> getMessageSeen(long folder);
@Query("SELECT message.*" +
", account.name AS accountName, account.color AS accountColor" +
", folder.name AS folderName, folder.display AS folderDisplay, folder.type AS folderType" +