diff --git a/config/client.go b/config/client.go index c4ae720d90..2348cc28f7 100644 --- a/config/client.go +++ b/config/client.go @@ -70,6 +70,7 @@ func GenerateClientConfig(c *model.Config, diagnosticID string, license *model.L props["EmailNotificationContentsType"] = *c.EmailSettings.EmailNotificationContentsType props["ShowEmailAddress"] = strconv.FormatBool(*c.PrivacySettings.ShowEmailAddress) + props["ShowFullName"] = strconv.FormatBool(*c.PrivacySettings.ShowFullName) props["EnableFileAttachments"] = strconv.FormatBool(*c.FileSettings.EnableFileAttachments) props["EnablePublicLink"] = strconv.FormatBool(*c.FileSettings.EnablePublicLink) diff --git a/config/client_test.go b/config/client_test.go index 238e7b2fca..aa247ae8c6 100644 --- a/config/client_test.go +++ b/config/client_test.go @@ -165,6 +165,19 @@ func TestGetClientConfig(t *testing.T) { "IsDefaultMarketplace": "false", }, }, + { + "enable ShowFullName prop", + &model.Config{ + PrivacySettings: model.PrivacySettings{ + ShowFullName: bToP(true), + }, + }, + "tag1", + nil, + map[string]string{ + "ShowFullName": "true", + }, + }, } for _, testCase := range testCases {