1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Replace correlation header

This commit is contained in:
M66B 2021-03-12 07:45:02 +01:00
parent 7971c4ee1e
commit 966cb48513

View file

@ -957,7 +957,10 @@ class Core {
try (InputStream is = new BufferedInputStream(new FileInputStream(file))) { try (InputStream is = new BufferedInputStream(new FileInputStream(file))) {
imessage = new MimeMessageEx(isession, is, message.msgid); imessage = new MimeMessageEx(isession, is, message.msgid);
} }
imessage.removeHeader(MessageHelper.HEADER_CORRELATION_ID);
imessage.addHeader(MessageHelper.HEADER_CORRELATION_ID, message.msgid); imessage.addHeader(MessageHelper.HEADER_CORRELATION_ID, message.msgid);
imessage.saveChanges(); imessage.saveChanges();
} }