This commit is contained in:
M66B 2019-02-03 13:54:51 +00:00
parent e668ae6fa1
commit fca81b06a7
1 changed files with 0 additions and 11 deletions

View File

@ -190,17 +190,6 @@ public interface DaoMessage {
" AND msgid = :msgid")
int countMessageByMsgId(long folder, String msgid);
@Query("SELECT * FROM message" +
" WHERE folder = :folder" +
" AND ui_seen" +
" AND NOT ui_hide")
List<EntityMessage> getMessageSeen(long folder);
@Query("SELECT id FROM message" +
" WHERE content" +
" AND (preview IS NULL OR preview = '')")
List<Long> getMessageWithoutPreview();
@Query("SELECT message.*" +
", account.name AS accountName, identity.color AS accountColor, account.notify AS accountNotify" +
", folder.name AS folderName, folder.display AS folderDisplay, folder.type AS folderType" +