From 9776e9d2175c58fc00cde385121c6cd23d79b579 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Wed, 14 Feb 2018 10:00:13 -0500 Subject: [PATCH] (fix) skip organizer from attendees list (fixes #4402) --- ActiveSync/iCalEvent+ActiveSync.m | 3 +++ NEWS | 1 + 2 files changed, 4 insertions(+) diff --git a/ActiveSync/iCalEvent+ActiveSync.m b/ActiveSync/iCalEvent+ActiveSync.m index 7a66adbd1..40a0aa20f 100644 --- a/ActiveSync/iCalEvent+ActiveSync.m +++ b/ActiveSync/iCalEvent+ActiveSync.m @@ -861,6 +861,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // { "Attendee_Email" = "sogo3@example.com"; "Attendee_Name" = "Wolfgang Fritz"; "Attendee_Status" = 5; "Attendee_Type" = 1; } attendee = [o objectAtIndex: i]; + if ([self isOrganizer: [attendee objectForKey: @"Attendee_Email"]]) + continue; + person = [iCalPerson elementWithTag: @"attendee"]; [person setCn: [attendee objectForKey: @"Attendee_Name"]]; [person setEmail: [attendee objectForKey: @"Attendee_Email"]]; diff --git a/NEWS b/NEWS index 5b89eec67..0a59bf84b 100644 --- a/NEWS +++ b/NEWS @@ -55,6 +55,7 @@ Bug fixes - [web] fixed decoding of spaces in URL-encoded parameters (+) - [eas] hebrew folders encoding problem using EAS (#4240) - [eas] avoid sync requests for shared folders every second (#4275) + - [eas] we skip the organizer from the attendees list (#4402) 3.2.10 (2017-07-05) -------------------