diff options
author | DINH Viet Hoa <dinh.viet.hoa@gmail.com> | 2013-02-01 22:39:33 -0800 |
---|---|---|
committer | DINH Viet Hoa <dinh.viet.hoa@gmail.com> | 2013-02-01 22:39:33 -0800 |
commit | c9bff1b3055a1a1eb16c149609c2b57cc9398456 (patch) | |
tree | 68526d40a43c9ed684fa3c268bd4e05c028471e4 | |
parent | 7fb28de9ca941950794bceddeb27cf975360b33b (diff) |
Initializer uniqueID() for part.
-rw-r--r-- | src/core/imap/MCIMAPPart.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/imap/MCIMAPPart.cc b/src/core/imap/MCIMAPPart.cc index e8185fc3..787c0257 100644 --- a/src/core/imap/MCIMAPPart.cc +++ b/src/core/imap/MCIMAPPart.cc @@ -230,6 +230,7 @@ IMAPPart * IMAPPart::attachmentWithIMAPBody1PartText(struct mailimap_body_type_t IMAPPart * attachment; attachment = new IMAPPart(); + attachment->setUniqueID(mailcore::String::uuidString()); attachment->importIMAPFields(text->bd_fields, extension); attachment->setMimeType(String::stringWithUTF8Format("text/%s", text->bd_media_text)); |