mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-31 02:52:43 +00:00
(fix) correctly handle Canceled appointments
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user