From 988e91a63833dc7e2d96dedb560e5487ae67ec6c Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Wed, 5 Dec 2012 08:31:35 -0500 Subject: [PATCH] We also remove the RSVP in the user's calendar during a PUT. --- SoObjects/Appointments/SOGoAppointmentObject.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SoObjects/Appointments/SOGoAppointmentObject.m b/SoObjects/Appointments/SOGoAppointmentObject.m index 6228b6331..3809eb6cb 100644 --- a/SoObjects/Appointments/SOGoAppointmentObject.m +++ b/SoObjects/Appointments/SOGoAppointmentObject.m @@ -1929,6 +1929,9 @@ inRecurrenceExceptionsForEvent: (iCalEvent *) theEvent return [NSException exceptionWithHTTPStatus:403 reason: @"sequences don't match"]; + // Remove the RSVP attribute, as an action from the attendee + // was actually performed, and this confuses iCal (bug #1850) + [[attendee attributes] removeObjectForKey: @"RSVP"]; delegate = nil; delegateEmail = [attendee delegatedTo];