aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r--mail/em-utils.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c
index efbfee34ea..799ff9c339 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -2209,13 +2209,8 @@ em_utils_snoop_type(CamelMimePart *part)
CamelDataWrapper *dw;
filename = camel_mime_part_get_filename (part);
- if (filename) {
- /* will GVFS misidentify TNEF attachments as MPEG? */
- if (!strcmp (filename, "winmail.dat"))
- return "application/vnd.ms-tnef";
-
+ if (filename != NULL)
name_type = e_util_guess_mime_type (filename);
- }
dw = camel_medium_get_content_object((CamelMedium *)part);
if (!camel_data_wrapper_is_offline(dw)) {