aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar DINH Viet Hoa <dinh.viet.hoa@gmail.com>2013-02-01 22:39:33 -0800
committerGravatar DINH Viet Hoa <dinh.viet.hoa@gmail.com>2013-02-01 22:39:33 -0800
commitc9bff1b3055a1a1eb16c149609c2b57cc9398456 (patch)
tree68526d40a43c9ed684fa3c268bd4e05c028471e4
parent7fb28de9ca941950794bceddeb27cf975360b33b (diff)
Initializer uniqueID() for part.
-rw-r--r--src/core/imap/MCIMAPPart.cc1
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));