1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 04:35:57 +00:00

Fixed cross account move message flags

This commit is contained in:
M66B 2021-04-19 15:20:40 +02:00
parent d029728c96
commit 8e38a79948

View file

@ -967,6 +967,11 @@ class Core {
imessage.addHeader(MessageHelper.HEADER_CORRELATION_ID, message.msgid);
imessage.saveChanges();
imessage.setFlag(Flags.Flag.SEEN, message.ui_seen);
imessage.setFlag(Flags.Flag.ANSWERED, message.ui_answered);
imessage.setFlag(Flags.Flag.FLAGGED, message.ui_flagged);
imessage.setFlag(Flags.Flag.DELETED, message.ui_deleted);
}
db.message().setMessageRaw(message.id, true);