(fix) correctly handle Canceled appointments
parent
dcfed38fc7
commit
dd8cccdafc
|
@ -1820,10 +1820,7 @@ void handle_eas_terminate(int signum)
|
||||||
{
|
{
|
||||||
appointmentObject = [[SOGoAppointmentObject alloc] initWithName: [NSString stringWithFormat: @"%@.ics", [event uid]]
|
appointmentObject = [[SOGoAppointmentObject alloc] initWithName: [NSString stringWithFormat: @"%@.ics", [event uid]]
|
||||||
inContainer: collection];
|
inContainer: collection];
|
||||||
if (folderType == ActiveSyncEventFolder)
|
|
||||||
[appointmentObject saveComponent: event force: YES];
|
[appointmentObject saveComponent: event force: YES];
|
||||||
else
|
|
||||||
[appointmentObject saveComponent: event];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (uidCache && [calendarId length] > 64)
|
if (uidCache && [calendarId length] > 64)
|
||||||
|
|
|
@ -944,7 +944,7 @@ struct GlobalObjectId {
|
||||||
else if ([method isEqualToString: @"COUNTER"])
|
else if ([method isEqualToString: @"COUNTER"])
|
||||||
className = @"IPM.Schedule.Meeting.Resp.Tent";
|
className = @"IPM.Schedule.Meeting.Resp.Tent";
|
||||||
else if ([method isEqualToString: @"CANCEL"])
|
else if ([method isEqualToString: @"CANCEL"])
|
||||||
className = @"IPM.Schedule.Meeting.Cancelled";
|
className = @"IPM.Schedule.Meeting.Canceled";
|
||||||
else
|
else
|
||||||
className = @"IPM.Appointment";
|
className = @"IPM.Appointment";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue