From 3e5c19bfaed2e262675ac4665da6953f45c69db2 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 7 Feb 2011 17:17:10 +0000 Subject: [PATCH] Monotone-Parent: dc04eb7c603c80427d9ac15ee5747b6d6ed6ff48 Monotone-Revision: 8dc4df621d7d3e7b400854df5f4d831bf8e6a62e Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-02-07T17:17:10 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 6 ++++++ OpenChange/MAPIStoreDraftsContext.m | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index b49d44e64..292358045 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-02-07 Wolfgang Sourdeau + + * OpenChange/MAPIStoreDraftsContext.m + (-createMessageOfClass:inFolderAtURL:): implemented method to + avoid a crash when "saving" drafts messages in Outlook. + 2011-02-07 Ludovic Marcotte * OpenChange/MAPIStoreDeletedItemsContext.m: now a subclass of diff --git a/OpenChange/MAPIStoreDraftsContext.m b/OpenChange/MAPIStoreDraftsContext.m index 2ad70c212..561132906 100644 --- a/OpenChange/MAPIStoreDraftsContext.m +++ b/OpenChange/MAPIStoreDraftsContext.m @@ -26,6 +26,7 @@ #import "MAPIStoreMapping.h" +#import #import #import "MAPIApplication.h" @@ -82,4 +83,10 @@ } } +- (id) createMessageOfClass: (NSString *) messageClass + inFolderAtURL: (NSString *) folderURL; +{ + return [moduleFolder newDraft]; +} + @end