Monotone-Parent: ac435c09e6aeb4ef0087488eb9403ccc7f5fc64e

Monotone-Revision: 4e64b83fb714d395f79db3b2cd5c49a57e14f1f0

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-12-01T22:34:52
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2011-12-01 22:34:52 +00:00
parent 6f78e819f9
commit 97c30caf0d
2 changed files with 17 additions and 0 deletions

View File

@ -1,5 +1,10 @@
2011-12-01 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreFSMessage.m (-subscriberCanReadMessage):
returns YES when the message is of class
"IPM.Microsoft.ScheduleData.FreeBusy", as a hack until freebusy
messages are handled by the backend.
* OpenChange/MAPIStoreContext.m (_prepareContextClass): now return
the context via a pointer parameter. Return a proper "enum
mapistore_error" value.

View File

@ -83,6 +83,18 @@
[properties removeAllObjects];
}
- (BOOL) subscriberCanReadMessage
{
/* This is a HACK until we figure out how to determine a message position in
the mailbox hierarchy.... (missing: folderid and role) */
NSString *msgClass;
msgClass = [[sogoObject properties]
objectForKey: MAPIPropertyKey (PR_MESSAGE_CLASS_UNICODE)];
return [msgClass isEqualToString: @"IPM.Microsoft.ScheduleData.FreeBusy"];
}
- (NSDate *) creationTime
{
return [sogoObject creationTime];