diff --git a/ChangeLog b/ChangeLog index 1481eff96..7b55fd479 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-07-23 Wolfgang Sourdeau + * SoObjects/Appointments/SOGoAppointmentFolder.m + (-davPOSTRequest:withContentType:inContext:) we use a simple comma + as recipient separator but with trim the resulting elements. + * SoObjects/SOGo/NSArray+Utilities.m (-trimmedComponents): new method that returns a trimmed/stripped version of the strings contained in the array. diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index 786cbc296..9d13a8551 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -2262,9 +2262,9 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir originator = [originator substringFromIndex: 7]; recipients = [[request headerForKey: @"recipient"] - componentsSeparatedByString: @", "]; + componentsSeparatedByString: @","]; obj = [self caldavScheduleRequest: [request contentAsString] - from: originator to: recipients]; + from: originator to: [recipients trimmedComponents]]; } else obj = [super davPOSTRequest: request withContentType: cType