From e4ce687e29d6232228e6bc9b6943f4e4a0573786 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Fri, 31 Jan 2014 15:05:33 -0500 Subject: [PATCH] Update the content when the request is from Active Sync --- SoObjects/Appointments/SOGoAppointmentObject.m | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/SoObjects/Appointments/SOGoAppointmentObject.m b/SoObjects/Appointments/SOGoAppointmentObject.m index a2d279ec0..bb0421898 100644 --- a/SoObjects/Appointments/SOGoAppointmentObject.m +++ b/SoObjects/Appointments/SOGoAppointmentObject.m @@ -1375,9 +1375,11 @@ inRecurrenceExceptionsForEvent: (iCalEvent *) theEvent { // We generate the updated iCalendar file and we save it in // the database. We do this ONLY when using SOGo from the - // Web interface. Over DAV, it'll be handled directly in - // PUTAction: - if (![context request] || [[context request] handledByDefaultHandler]) + // Web interface or over ActiveSync. + // Over DAV, it'll be handled directly in PUTAction: + if (![context request] + || [[context request] handledByDefaultHandler] + || [[[context request] requestHandlerKey] isEqualToString: @"Microsoft-Server-ActiveSync"]) ex = [self saveContentString: [[event parent] versitString]]; } }