From 8577cc004f97c8f843a7f60c6d9bfdca6a52f83a Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Thu, 19 Mar 2015 14:53:01 -0400 Subject: [PATCH] Always add DisplayName no matter EAS client version --- ActiveSync/SOGoMailObject+ActiveSync.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ActiveSync/SOGoMailObject+ActiveSync.m b/ActiveSync/SOGoMailObject+ActiveSync.m index 7386bc182..c1df14dca 100644 --- a/ActiveSync/SOGoMailObject+ActiveSync.m +++ b/ActiveSync/SOGoMailObject+ActiveSync.m @@ -797,8 +797,7 @@ struct GlobalObjectId { value = [attachmentKeys objectAtIndex: i]; [s appendString: @""]; - if ([[[context request] headerForKey: @"MS-ASProtocolVersion"] isEqualToString: @"2.5"]) - [s appendFormat: @"%@", [[value objectForKey: @"filename"] activeSyncRepresentationInContext: context]]; + [s appendFormat: @"%@", [[value objectForKey: @"filename"] activeSyncRepresentationInContext: context]]; // FileReference must be a unique identifier across the whole store. We use the following structure: // mail//