* mu-cmd-extract: don't be too picky for attachments
This commit is contained in:
@ -85,7 +85,8 @@ save_part_if (MuMsgPart *part, SaveData *sd)
|
|||||||
* the attachment check may be a bit too strict */
|
* the attachment check may be a bit too strict */
|
||||||
if (sd->attachments_only)
|
if (sd->attachments_only)
|
||||||
if (!part->disposition ||
|
if (!part->disposition ||
|
||||||
g_ascii_strcasecmp (part->disposition, "attachment") != 0)
|
((g_ascii_strcasecmp (part->disposition, "attachment") != 0) &&
|
||||||
|
g_ascii_strcasecmp (part->disposition, "inline")))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* ignore multiparts */
|
/* ignore multiparts */
|
||||||
|
|||||||
Reference in New Issue
Block a user