(fix) correctly handle Canceled appointments

pull/234/head
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]] 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)

View File

@ -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";