From 4826f0155552d56a98712dff1a607a2504b98591 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Tue, 12 May 2015 09:52:13 -0400 Subject: [PATCH] (fix) fixed EAS replies decoding from Outlook (#3123) --- NEWS | 1 + SoObjects/Mailer/SOGoMailObject.m | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/NEWS b/NEWS index 672072ade..1fb8ad6c4 100644 --- a/NEWS +++ b/NEWS @@ -83,6 +83,7 @@ Bug fixes - prevent potential freebusy lookup crashes during timezone changes with repetitive events - improved GetItemEstimate to count all vasnished/deleted mails too - improvements to EAS SyncKey handling to avoid missing mails (#3048, #3058) + - fixed EAS replies decoding from Outlook (#3123) 2.2.16 (2015-02-12) ------------------- diff --git a/SoObjects/Mailer/SOGoMailObject.m b/SoObjects/Mailer/SOGoMailObject.m index f99bcf49d..2aabcaa75 100644 --- a/SoObjects/Mailer/SOGoMailObject.m +++ b/SoObjects/Mailer/SOGoMailObject.m @@ -384,6 +384,11 @@ static BOOL debugSoParts = NO; _path = [_path componentsSeparatedByString: @"."]; } + // deal with mails of type text/calendar + if ([[[info valueForKey: @"type"] lowercaseString] isEqualToString: @"text"] && + [[[info valueForKey: @"subtype"] lowercaseString] isEqualToString: @"calendar"]) + return info; + /* For each path component, eg 1,1,3