Monotone-Parent: 353341fbefbec06fd82685f146d83bc9bf269172
Monotone-Revision: 98084e25c04125bc23a53907661020b8ac004a5d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-07-27T22:02:29 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
091e7552a5
commit
05ed3cce9e
|
@ -1,5 +1,9 @@
|
|||
2011-07-27 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreAppointmentWrapper.m
|
||||
(-getPidLidGlobalObjectId:inMemCtx:): work-around certain buggy
|
||||
events which might now have a "CREATED" element.
|
||||
|
||||
* OpenChange/MAPIStoreContactsMessage.m: commented out
|
||||
"-getPrOabName:inMemCtx:" and "-getPrOabLangid:inMemCtx:" as they
|
||||
seem to be useful only for contact lists.
|
||||
|
|
|
@ -396,6 +396,13 @@ _fillAppointmentRecurrencePattern (struct AppointmentRecurrencePattern *arp,
|
|||
/* /FIXME */
|
||||
|
||||
creationTime = [event created];
|
||||
if (!creationTime)
|
||||
{
|
||||
[self logWithFormat: @"" __location__ ": event has no 'CREATED' tag -> inventing one"];
|
||||
creationTime = [event lastModified];
|
||||
if (!creationTime)
|
||||
creationTime = [NSCalendarDate date];
|
||||
}
|
||||
creationFileTime = [creationTime asFileTimeInMemCtx: NULL];
|
||||
[nsData appendBytes: &creationFileTime->dwLowDateTime length: 4];
|
||||
[nsData appendBytes: &creationFileTime->dwHighDateTime length: 4];
|
||||
|
|
Loading…
Reference in New Issue