aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/rfc822
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-05-04 10:31:00 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-05-04 10:31:29 -0700
commit7b03eb79d8d097f50f5eb4767850b3993a3b2d2d (patch)
treef8ccd206acc35dce79bf2a07741171d295f305b7 /src/core/rfc822
parente9ccd70a6dd9d17dec75e6c35189a0a2ae0f3cac (diff)
consistent uniqueID for MIME parts
Diffstat (limited to 'src/core/rfc822')
-rw-r--r--src/core/rfc822/MCMessageParser.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/rfc822/MCMessageParser.cc b/src/core/rfc822/MCMessageParser.cc
index 98982e93..2a892e6b 100644
--- a/src/core/rfc822/MCMessageParser.cc
+++ b/src/core/rfc822/MCMessageParser.cc
@@ -38,6 +38,7 @@ MessageParser::MessageParser(Data * data)
mailmessage_get_bodystructure(msg, &mime);
mMainPart = (AbstractPart *) Attachment::attachmentsWithMIME(msg->msg_mime)->retain();
mMainPart->setMessage(this);
+ mMainPart->applyUniquePartID();
header()->importIMFFields(msg->msg_fields);
mailmessage_free(msg);
}