Fixed cross account move message flags

This commit is contained in:
M66B 2021-04-19 15:20:40 +02:00
parent d029728c96
commit 8e38a79948
1 changed files with 5 additions and 0 deletions

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);