Commit 3676cde2 authored by Hussein's avatar Hussein

P4A-776 Set header with stored rating instead of computing it again.

parent 8afb36a0
......@@ -3191,7 +3191,7 @@ public class MessagingController implements Sync.MessageToSendCallback, KeyImpor
if (pEpVersionHeader.length > 0) {
message.addHeader(MimeHeader.HEADER_PEP_VERSION, pEpVersionHeader[0]);
}
message.addHeader(MimeHeader.HEADER_PEP_RATING, PEpUtils.ratingToString(pEpProvider.getRating(message)));
message.setHeader(MimeHeader.HEADER_PEP_RATING, PEpUtils.ratingToString(message.getpEpRating()));
localSentFolder.appendMessages(Collections.singletonList(message));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment