From feca02e7403cd9b05649975ad6471f8220df5d8b Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Mon, 31 Oct 2016 10:24:16 -0400 Subject: [PATCH] (fix) support replied/forwarded flags using EAS (fixes #3796) --- ActiveSync/SOGoMailObject+ActiveSync.m | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ActiveSync/SOGoMailObject+ActiveSync.m b/ActiveSync/SOGoMailObject+ActiveSync.m index 7f7cc8d53..052529c81 100644 --- a/ActiveSync/SOGoMailObject+ActiveSync.m +++ b/ActiveSync/SOGoMailObject+ActiveSync.m @@ -1291,6 +1291,13 @@ struct GlobalObjectId { [s appendFormat: @"%@", [[[self inReplyTo] dataUsingEncoding: NSUTF8StringEncoding] activeSyncRepresentationInContext: context]]; else if ([[self messageId] length] > 0) [s appendFormat: @"%@", [[[self messageId] dataUsingEncoding: NSUTF8StringEncoding] activeSyncRepresentationInContext: context]]; + + if ([self replied]) + [s appendFormat: @"%d", 1]; + else if ([self forwarded]) + [s appendFormat: @"%d", 3]; + else + [s appendFormat: @"%d", 0]; } // FIXME - support these in the future