-
- if (part_to_check) {
- msg_content_type = modest_tny_mime_part_get_content_type (TNY_MIME_PART (part_to_check));
- is_alternate = !strcasecmp (msg_content_type, "multipart/alternative");
- } else {
- /* If we couldn't find parent, just go through fallback */
- msg_content_type = NULL;
- is_alternate = FALSE;
- }
+ msg_content_type = modest_tny_mime_part_get_content_type (TNY_MIME_PART (part_to_check));
+ is_alternate = !strcasecmp (msg_content_type, "multipart/alternative");