From b24a894146f3c70d89de221dfb9c2d5b2ba99188 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Mon, 11 Feb 2008 15:55:06 +0000 Subject: [PATCH] Decode the mime part when copying it Fixes NB#78802 pmo-trunk-r4159 --- src/modest-tny-msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 1.7.9.5