Fixed cross account move message flags

pull/198/head
M66B 4 years ago
parent d029728c96
commit 8e38a79948

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

Loading…
Cancel
Save