From ee8caa5a990ced533059020ad82c21ebb66a541f Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Tue, 12 May 2015 10:05:45 -0400 Subject: [PATCH] (fix) now set MeetingMessageType only for EAS 14.1 --- ActiveSync/SOGoMailObject+ActiveSync.m | 4 +++- NEWS | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ActiveSync/SOGoMailObject+ActiveSync.m b/ActiveSync/SOGoMailObject+ActiveSync.m index da4539347..8cb72900c 100644 --- a/ActiveSync/SOGoMailObject+ActiveSync.m +++ b/ActiveSync/SOGoMailObject+ActiveSync.m @@ -787,7 +787,9 @@ struct GlobalObjectId { [s appendFormat: @"%@", [globalObjId activeSyncRepresentationInContext: context]]; // We set the right message type - we must set AS version to 14.1 for this - [s appendFormat: @"%d", 1]; + if ([[[context request] headerForKey: @"MS-ASProtocolVersion"] isEqualToString: @"14.1"]) + [s appendFormat: @"%d", 1]; + [s appendString: @""]; // ContentClass diff --git a/NEWS b/NEWS index ab745b271..1806f1cb5 100644 --- a/NEWS +++ b/NEWS @@ -46,6 +46,7 @@ Bug fixes - Outlook clients can use reply all functionality on multidomain environment (Zentyal) - optional attendes on events are now shown properly (Zentyal) - fixed the EAS maximum response size being per-folder, and not global + - now set MeetingMessageType only for EAS 14.1 2.2.17a (2015-03-15) --------------------