(fix) correctly handle Canceled appointments

Ludovic Marcotte 2017-02-03 15:24:42 -05:00
parent dcfed38fc7
commit dd8cccdafc
2 changed files with 2 additions and 5 deletions

View File

@ -1820,10 +1820,7 @@ void handle_eas_terminate(int signum)
{
appointmentObject = [[SOGoAppointmentObject alloc] initWithName: [NSString stringWithFormat: @"%@.ics", [event uid]]
inContainer: collection];
if (folderType == ActiveSyncEventFolder)
[appointmentObject saveComponent: event force: YES];
else
[appointmentObject saveComponent: event];
[appointmentObject saveComponent: event force: YES];
}
if (uidCache && [calendarId length] > 64)

View File

@ -944,7 +944,7 @@ struct GlobalObjectId {
else if ([method isEqualToString: @"COUNTER"])
className = @"IPM.Schedule.Meeting.Resp.Tent";
else if ([method isEqualToString: @"CANCEL"])
className = @"IPM.Schedule.Meeting.Cancelled";
className = @"IPM.Schedule.Meeting.Canceled";
else
className = @"IPM.Appointment";