From 9f3a49dcea2d5741784fcef6f27b998cbd0e12ce Mon Sep 17 00:00:00 2001
From: Patrick Simpson
Date: Mon, 5 Feb 2018 09:23:11 +0200
Subject: [PATCH] [KOE-91] Moved setting of initials after display name in GAB
to prevent Outlook from determining it itself
---
.../AcaciaZPushPlugin/Features/GAB/GABHandler.cs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/AcaciaZPushPlugin/AcaciaZPushPlugin/Features/GAB/GABHandler.cs b/src/AcaciaZPushPlugin/AcaciaZPushPlugin/Features/GAB/GABHandler.cs
index 8bd33a4..8134dd3 100644
--- a/src/AcaciaZPushPlugin/AcaciaZPushPlugin/Features/GAB/GABHandler.cs
+++ b/src/AcaciaZPushPlugin/AcaciaZPushPlugin/Features/GAB/GABHandler.cs
@@ -518,7 +518,6 @@ namespace Acacia.Features.GAB
// Create the contact data
if (Get(value, "givenName") != null) contact.FirstName = Get(value, "givenName");
- if (Get(value, "initials") != null) contact.Initials = Get(value, "initials");
if (Get(value, "surname") != null) contact.LastName = Get(value, "surname");
if (Get(value, "title") != null) contact.JobTitle = Get(value, "title");
if (Get(value, "displayName") != null)
@@ -527,6 +526,8 @@ namespace Acacia.Features.GAB
contact.FullName = Get(value, "displayName");
}
+ contact.Initials = Get(value, "initials") ?? "";
+
if (Get(value, "smtpAddress") != null)
{
contact.Email1Address = Get(value, "smtpAddress");