Monotone-Parent: d589e40f05abe383340293f75981bab0f0ee6396

Monotone-Revision: 952e5ac16e76ebd500cfd19dcb5355f231d38bfc

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-10-14T19:50:21
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2011-10-14 19:50:21 +00:00
parent 7fa025c355
commit 5dbd2e045c
2 changed files with 4 additions and 3 deletions

View File

@@ -20,6 +20,7 @@
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSCalendarDate.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSString.h>
#import <NGExtensions/NSObject+Logs.h>
@@ -658,14 +659,14 @@ e)
- (NSDate *) creationTime
{
return ([sogoObject isKindOfClass: SOGoDraftObjectK]
? [newProperties objectForKey: MAPIPropertyKey (PR_CREATION_TIME)]
? (NSDate *) [newProperties objectForKey: MAPIPropertyKey (PR_CREATION_TIME)]
: [super creationTime]);
}
- (NSDate *) lastModificationTime
{
return ([sogoObject isKindOfClass: SOGoDraftObjectK]
? [newProperties
? (NSDate *) [newProperties
objectForKey: MAPIPropertyKey (PR_LAST_MODIFICATION_TIME)]
: [super lastModificationTime]);
}