Partially fixes NB#150565
PS: needs tinymail >= r4092
set_progress_hint (helper->self, FALSE);
content_type = tny_mime_part_get_content_type (mime_part);
set_progress_hint (helper->self, FALSE);
content_type = tny_mime_part_get_content_type (mime_part);
- if (g_str_has_prefix (content_type, "message/rfc822")) {
+ if (content_type && g_str_has_prefix (content_type, "message/rfc822")) {
ModestWindowMgr *mgr;
ModestWindow *msg_win = NULL;
TnyMsg * msg;
ModestWindowMgr *mgr;
ModestWindow *msg_win = NULL;
TnyMsg * msg;