aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-08-09 14:17:47 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-08-09 14:18:01 -0700
commit18116c342c4b0e917b35e13d81151baca1298e0e (patch)
tree1862b44a3d17236e8c03f5fb39c9e7e46ab2c18e /src
parent9bb099e06a626e6614628c25002a78ca7b2a01bf (diff)
Fixed MIME type conversion
Diffstat (limited to 'src')
-rw-r--r--src/core/imap/MCIMAPPart.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/imap/MCIMAPPart.cc b/src/core/imap/MCIMAPPart.cc
index 76e59021..5fc39fc9 100644
--- a/src/core/imap/MCIMAPPart.cc
+++ b/src/core/imap/MCIMAPPart.cc
@@ -221,7 +221,7 @@ IMAPPart * IMAPPart::attachmentWithIMAPBody1PartBasic(struct mailimap_body_type_
mimeType = String::stringWithUTF8Format("video/%s", basic->bd_media_basic->med_subtype);
break;
case MAILIMAP_MEDIA_BASIC_OTHER:
- mimeType = String::stringWithUTF8Format("other/%s", basic->bd_media_basic->med_subtype);
+ mimeType = String::stringWithUTF8Format("%s/%s", basic->bd_media_basic->med_basic_type, basic->bd_media_basic->med_subtype);
break;
}
attachment->setMimeType(mimeType);