Commit 47d475d9 authored by Hussein's avatar Hussein

Merge branch 'bug/P4A-958' into develop

parents 87f8619f d2e46646
......@@ -2272,8 +2272,7 @@ public class MessagingController implements Sync.MessageToSendCallback, KeyImpor
localMessage.setUid(encryptedMessage.getUid());
localFolder.changeUid(localMessage);
if (localMessage.getFolder().getName().equals(account.getDraftsFolderName())) {
localMessage.addHeader(MimeHeader.HEADER_PEP_RATING, PEpUtils.ratingToString(pEpProvider.getRating(localMessage)));
localFolder.appendMessages(Collections.singletonList(localMessage));
localMessage.setpEpRating(pEpProvider.getRating(localMessage));
}
for (MessagingListener l : getListeners()) {
l.messageUidChanged(account, folder, oldUid, localMessage.getUid());
......
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