1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 11:15:51 +00:00

Set sent and received time after sending

This commit is contained in:
M66B 2019-05-01 11:29:19 +02:00
parent dc70bc540c
commit 4c13563024

View file

@ -340,7 +340,7 @@ public interface DaoMessage {
@Query("UPDATE message SET ui_ignored = :ui_ignored WHERE id = :id")
int setMessageUiIgnored(long id, boolean ui_ignored);
@Query("UPDATE message SET sent = :sent WHERE id = :id")
@Query("UPDATE message SET received = :sent, sent = :sent WHERE id = :id")
int setMessageSent(long id, Long sent);
@Query("UPDATE message SET receipt_request = :receipt_request WHERE id = :id")