[KOE-91] Moved setting of initials after display name in GAB to prevent Outlook from determining it itself

This commit is contained in:
Patrick Simpson 2018-02-05 09:23:11 +02:00
parent 942479c472
commit 9f3a49dcea
1 changed files with 2 additions and 1 deletions

View File

@ -518,7 +518,6 @@ namespace Acacia.Features.GAB
// Create the contact data
if (Get<string>(value, "givenName") != null) contact.FirstName = Get<string>(value, "givenName");
if (Get<string>(value, "initials") != null) contact.Initials = Get<string>(value, "initials");
if (Get<string>(value, "surname") != null) contact.LastName = Get<string>(value, "surname");
if (Get<string>(value, "title") != null) contact.JobTitle = Get<string>(value, "title");
if (Get<string>(value, "displayName") != null)
@ -527,6 +526,8 @@ namespace Acacia.Features.GAB
contact.FullName = Get<string>(value, "displayName");
}
contact.Initials = Get<string>(value, "initials") ?? "";
if (Get<string>(value, "smtpAddress") != null)
{
contact.Email1Address = Get<string>(value, "smtpAddress");