projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4a97c4a
)
* Fixes NB#85493, do not show an HTML attachment as message body
author
Sergio Villar Senin
<svillar@igalia.com>
Thu, 15 May 2008 10:05:14 +0000
(10:05 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Thu, 15 May 2008 10:05:14 +0000
(10:05 +0000)
pmo-trunk-r4532
src/modest-tny-msg.c
patch
|
blob
|
history
diff --git
a/src/modest-tny-msg.c
b/src/modest-tny-msg.c
index
8c8089a
..
9aeb40d
100644
(file)
--- a/
src/modest-tny-msg.c
+++ b/
src/modest-tny-msg.c
@@
-506,7
+506,9
@@
modest_tny_msg_find_body_part_from_mime_part (TnyMimePart *msg, gboolean want_ht
g_free (content_disp);
}
g_free (content_disp);
}
- if (g_str_has_prefix (content_type, desired_mime_type) && !has_content_disp_name) {
+ if (g_str_has_prefix (content_type, desired_mime_type) &&
+ !has_content_disp_name &&
+ !modest_tny_mime_part_is_attachment_for_modest (part)) {
/* we found the desired mime-type! */
g_free (content_type);
break;
/* we found the desired mime-type! */
g_free (content_type);
break;