From 196cef42abcfd619580ccdef06efd07c00c6f5d3 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 10 Feb 2011 17:48:54 +0000 Subject: [PATCH] Monotone-Parent: 0a822e8612a60bc6426276297a9e2061a1ec46ca Monotone-Revision: 06d05f5f33259193fb9c9cc279dd8c556f540318 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-02-10T17:48:54 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ OpenChange/MAPIStoreMessageTable.m | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index ad27e0360..56bff4964 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2011-02-10 Wolfgang Sourdeau + * OpenChange/MAPIStoreMessageTable.m + (-getChildProperty:forKey:withTag:): returns a default value for + PR_ORIG_MESSAGE_CLASS_UNICODE based of PR_MESSAGE_CLASS_UNICODE. + * OpenChange/NSArray+MAPIStore.m (-asArrayOfUnicodeStringsInCtx:): new method for returning array of "PT_UNICODE" values. diff --git a/OpenChange/MAPIStoreMessageTable.m b/OpenChange/MAPIStoreMessageTable.m index b7766a795..f9e99386f 100644 --- a/OpenChange/MAPIStoreMessageTable.m +++ b/OpenChange/MAPIStoreMessageTable.m @@ -205,6 +205,11 @@ static MAPIStoreMapping *mapping; *data = [@"openchange" asUnicodeInMemCtx: memCtx]; break; + case PR_ORIG_MESSAGE_CLASS_UNICODE: + rc = [self getChildProperty: data forKey: childKey + withTag: PR_MESSAGE_CLASS_UNICODE]; + break; + default: rc = [super getChildProperty: data forKey: childKey