mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 07:06:18 +02:00
Experiment
This commit is contained in:
@@ -334,6 +334,11 @@ public interface DaoMessage {
|
||||
" AND (id = :id OR msgid = :msgid)")
|
||||
List<EntityMessage> getMessagesBySimilarity(long account, long id, String msgid);
|
||||
|
||||
@Query("SELECT * FROM message" +
|
||||
" WHERE account = :account" +
|
||||
" AND hash = :hash")
|
||||
List<EntityMessage> getMessagesByHash(long account, String hash);
|
||||
|
||||
@Query("SELECT COUNT(*) FROM message" +
|
||||
" WHERE folder = :folder" +
|
||||
" AND msgid = :msgid")
|
||||
|
||||
Reference in New Issue
Block a user