Process Message-ID and In-Reply-To in EVELOPE

This commit is contained in:
Jacek Piszczek 2021-03-24 14:24:35 -04:00
parent 47c6f35f5a
commit 9ec84cf80f

View File

@ -571,6 +571,16 @@ int IMAPMessage::processFetchResponse(
if (!bcc.isEmpty()) {
hdr->Bcc()->setValue(bcc.toAddressList());
}
// Message-ID
if (!env->env_message_id->isNIL) {
hdr->MessageId()->setValue(messageId(env->env_message_id->value));
}
// In-Reply-To
if (!env->env_in_reply_to->isNIL) {
hdr->InReplyTo()->setValue(messageIdSequence(env->env_message_id->value));
}
}
break;