From cf3eb03735ad87cc838f55d2a6e667b6e450088a Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 23 Jul 2009 17:34:10 +0000 Subject: [PATCH] Monotone-Parent: 15503fe623be16f680136363d33fa6452249289a Monotone-Revision: 29ab1a13365e1046e249420b5176c067f8a38fe9 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-07-23T17:34:10 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ SoObjects/Appointments/SOGoAppointmentFolder.m | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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