aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
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);