From a564e7b302b99ef8a367071d9dce621194ee3ff7 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Sun, 13 Feb 2011 22:55:12 +0000 Subject: [PATCH] Monotone-Parent: 44e710d477fe4c00e417c926d9eecec7dd1a12c1 Monotone-Revision: 21a3dbfea6d041ca22f1f9804ac4084ea25551bc Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-02-13T22:55:12 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ SoObjects/Mailer/SOGoMailObject.m | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2dc5c6932..187d01e5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2011-02-13 Wolfgang Sourdeau + * SoObjects/Mailer/SOGoMailObject.m (-lookupInfoForBodyPart:): + accept "text" as path parameter and return the main bodyStructure + in that case. + * OpenChange/MAPIStoreMailMessageTable.m (-getChildProperty:forKey:withTag:): enhanced treatment of PR_BODY_UNICODE to accept text/plain parts when more than one is diff --git a/SoObjects/Mailer/SOGoMailObject.m b/SoObjects/Mailer/SOGoMailObject.m index 4319c50b5..b8394823c 100644 --- a/SoObjects/Mailer/SOGoMailObject.m +++ b/SoObjects/Mailer/SOGoMailObject.m @@ -349,6 +349,10 @@ static BOOL debugSoParts = NO; return nil; } + if ([_path isEqualToString: @"text"]) { + return info; + } + /* ensure array argument */ if ([_path isKindOfClass:[NSString class]]) {