From 7a05ec77deeaede334d277dd641a57b40a967c3f Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 8 Aug 2012 19:09:22 +0000 Subject: [PATCH] Monotone-Parent: cd55270af0875980e8fd804d528743a3c0103fe8 Monotone-Revision: ae2f3622e019b557af4f9dd642911dec3afe7ba1 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-08-08T19:09:22 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ OpenChange/MAPIStoreMessage.m | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index a3e54ec45..bdf6c4779 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2012-08-08 Wolfgang Sourdeau + * OpenChange/MAPIStoreMessage.m (-saveMessage): make sure that the + PidTagChangeKey and PidTagChangeNumber props are no longer set in + the properties dict after the save occurred. + * OpenChange/MAPIApplication.m (-shouldSetupSignalHandlers): overriden method by returning "NO". diff --git a/OpenChange/MAPIStoreMessage.m b/OpenChange/MAPIStoreMessage.m index a5a8827ab..febdb629c 100644 --- a/OpenChange/MAPIStoreMessage.m +++ b/OpenChange/MAPIStoreMessage.m @@ -496,6 +496,11 @@ rtf2html (NSData *compressedRTF) } [self save]; + /* We make sure that any change-related properties are removes from the + properties dictionary, to make sure that related methods will be + invoked the next time they are requested. */ + [properties removeObjectForKey: MAPIPropertyKey (PidTagChangeKey)]; + [properties removeObjectForKey: MAPIPropertyKey (PidTagChangeNumber)]; if ([container isKindOfClass: MAPIStoreFolderK]) {