Monotone-Parent: 86cef533a03be060bfad13566c4f0b2802481e87
Monotone-Revision: 0ad0dd5ada272b8cb3b3ec56737e667ebeccd725 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-03-19T19:26:11 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
0b052dbdad
commit
c7be84d277
|
@ -1,5 +1,10 @@
|
|||
2012-03-19 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreCalendarMessage.m (-save): check recipients
|
||||
even if PidLidAppointmentStateFlags is nil or 0, since all that
|
||||
matters is that the "recipients" dict be present in the properties
|
||||
dictionary.
|
||||
|
||||
* OpenChange/SOGoMAPIFSMessage.m (-init): init 2 new ivars:
|
||||
fileSize and lastModificationTime.
|
||||
(-properties): check the current file size and last modification
|
||||
|
|
|
@ -863,15 +863,9 @@
|
|||
withEvent: newEvent
|
||||
fromData: value];
|
||||
|
||||
[newEvent setOrganizer: nil];
|
||||
[newEvent removeAllAttendees];
|
||||
|
||||
/* alarm */
|
||||
[self _setupAlarmDataInEvent: newEvent];
|
||||
|
||||
if ([[properties objectForKey: MAPIPropertyKey (PidLidAppointmentStateFlags)] intValue]
|
||||
!= 0)
|
||||
{
|
||||
// Organizer
|
||||
value = [properties objectForKey: @"recipients"];
|
||||
if (value)
|
||||
|
@ -885,6 +879,9 @@
|
|||
int i, effective;
|
||||
BOOL organizerIsSet = NO;
|
||||
|
||||
[newEvent setOrganizer: nil];
|
||||
[newEvent removeAllAttendees];
|
||||
|
||||
recipients = [value objectForKey: @"to"];
|
||||
effective = 0;
|
||||
for (i = 0; i < [recipients count]; i++)
|
||||
|
@ -1058,7 +1055,6 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[sogoObject saveComponent: newEvent];
|
||||
if (newParticipationStatus)
|
||||
|
|
Loading…
Reference in a new issue