From: Alberto Garcia Date: Mon, 11 Feb 2008 15:55:06 +0000 (+0000) Subject: Decode the mime part when copying it X-Git-Tag: git_migration_finished~1695 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=b24a894146f3c70d89de221dfb9c2d5b2ba99188 Decode the mime part when copying it Fixes NB#78802 pmo-trunk-r4159 --- diff --git a/src/modest-tny-msg.c b/src/modest-tny-msg.c index e1ad4eb..f711496 100644 --- a/src/modest-tny-msg.c +++ b/src/modest-tny-msg.c @@ -251,7 +251,7 @@ copy_mime_part (TnyMimePart *part) attachment_cid = tny_mime_part_get_content_id (part); /* fill the stream */ - attachment_stream = tny_mime_part_get_stream (part); + attachment_stream = tny_mime_part_get_decoded_stream (part); enc = tny_mime_part_get_transfer_encoding (part); tny_stream_reset (attachment_stream); tny_mime_part_construct (result,