mirror of
https://github.com/Kopano-dev/kopano-ol-extension.git
synced 2023-10-10 13:37:40 +02:00
[KOE-91] Moved setting of initials after display name in GAB to prevent Outlook from determining it itself
This commit is contained in:
parent
942479c472
commit
9f3a49dcea
@ -518,7 +518,6 @@ namespace Acacia.Features.GAB
|
|||||||
|
|
||||||
// Create the contact data
|
// Create the contact data
|
||||||
if (Get<string>(value, "givenName") != null) contact.FirstName = Get<string>(value, "givenName");
|
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, "surname") != null) contact.LastName = Get<string>(value, "surname");
|
||||||
if (Get<string>(value, "title") != null) contact.JobTitle = Get<string>(value, "title");
|
if (Get<string>(value, "title") != null) contact.JobTitle = Get<string>(value, "title");
|
||||||
if (Get<string>(value, "displayName") != null)
|
if (Get<string>(value, "displayName") != null)
|
||||||
@ -527,6 +526,8 @@ namespace Acacia.Features.GAB
|
|||||||
contact.FullName = Get<string>(value, "displayName");
|
contact.FullName = Get<string>(value, "displayName");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
contact.Initials = Get<string>(value, "initials") ?? "";
|
||||||
|
|
||||||
if (Get<string>(value, "smtpAddress") != null)
|
if (Get<string>(value, "smtpAddress") != null)
|
||||||
{
|
{
|
||||||
contact.Email1Address = Get<string>(value, "smtpAddress");
|
contact.Email1Address = Get<string>(value, "smtpAddress");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user