* update attachment extraction code:
- only consider 'leaf', 'message' parts in for_each - special handling for gmimemessage - some cleanups
This commit is contained in:
@ -79,7 +79,8 @@ get_attach_str (MuMsg *msg)
|
||||
gchar *attach;
|
||||
|
||||
attach = NULL;
|
||||
mu_msg_part_foreach (msg, (MuMsgPartForeachFunc)each_part, &attach);
|
||||
mu_msg_part_foreach (msg, FALSE,
|
||||
(MuMsgPartForeachFunc)each_part, &attach);
|
||||
|
||||
return attach;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user