[PATCH 2/7] On creating embedded message in bs, set as msg contents the child.
- From: Jose Dapena Paz <jdapena igalia com>
- Subject: [PATCH 2/7] On creating embedded message in bs, set as msg contents the child.
- Date: Fri, 11 Dec 2009 13:17:46 +0100
---
ChangeLog | 3 +++
libtinymail-camel/tny-camel-bs-mime-part.c | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a93a260..d8458c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
* On getting the decoded stream from bs mime part, reset
to offer a stream started in 0 offset.
* Fix error detecting embedded message/rfc822 in bs.
+ * Add the bodystruct of the child to the embedded message created
+ in tny_camel_bs_mime_part_get_parts, as this is the expected
+ structure in tinymail.
2009-12-11 Sergio Villar Senin <svillar igalia com>
diff --git a/libtinymail-camel/tny-camel-bs-mime-part.c b/libtinymail-camel/tny-camel-bs-mime-part.c
index f7ba017..3be3fbb 100644
--- a/libtinymail-camel/tny-camel-bs-mime-part.c
+++ b/libtinymail-camel/tny-camel-bs-mime-part.c
@@ -402,7 +402,7 @@ tny_camel_bs_mime_part_get_parts_default (TnyMimePart *self, TnyList *list)
if (!strcasecmp (part->content.type, "message") && !strcasecmp (part->content.subtype, "rfc822")) {
TnyHeader *header = _tny_camel_bs_msg_header_new (part->envelope, part->octets);
- mpart = (TnyMimePart *) _tny_camel_bs_msg_new (part,
+ mpart = (TnyMimePart *) _tny_camel_bs_msg_new (part->subparts,
priv->uid, TNY_CAMEL_BS_MIME_PART (self));
_tny_camel_bs_msg_set_header (TNY_CAMEL_BS_MSG (mpart), header);
g_object_unref (header);
--
1.6.3.3
--=-7xSGRSdHbBXdNvov60N6
Content-Disposition: attachment; filename*0=0003-On-parsing-IMAP-FETCH-if-response-size-specifier-is-.pat; filename*1=ch
Content-Type: text/x-patch; name="0003-On-parsing-IMAP-FETCH-if-response-size-specifier-is-.patch"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]