Text body part can also have a name

This commit is contained in:
0xd34df00d 2020-08-08 12:50:53 -04:00
parent 83a2669a51
commit 1806e0be0e

View File

@ -87,6 +87,8 @@ IMAPMessagePart::IMAPMessagePart(
m_size = part->body_type_text->body_fields->body_fld_octets->value;
m_name = getPartName(part->body_type_text);
} else if (part->body_type_msg) {
m_mediaType = vmime::mediaType(