Store POP3 UIDL

This commit is contained in:
M66B
2020-05-09 07:56:06 +02:00
parent 79590e8eac
commit 98c7e1f8aa
6 changed files with 2266 additions and 15 deletions

View File

@@ -483,9 +483,9 @@ public interface DaoMessage {
" AND NOT uid IS NULL")
List<Long> getUids(long folder, Long received);
@Query("SELECT msgid FROM message" +
@Query("SELECT IFNULL(uidl, msgid) FROM message" +
" WHERE folder = :folder")
List<String> getMsgIds(long folder);
List<String> getUidls(long folder);
@Query("SELECT * FROM message" +
" WHERE folder = :folder" +