From 7ee7523729e6195517d9c52fe6ae9ba1fb64868e Mon Sep 17 00:00:00 2001 From: Ben Cooke Date: Mon, 11 Jul 2022 13:58:38 -0400 Subject: [PATCH] [MM-45490] Adding compliance export config to client (#20597) * tools updates * Revert "tools updates" This reverts commit 6293297b55803c5a263e200ebd80192899666ae9. * adding new client config Co-authored-by: Benjamin Cooke Co-authored-by: Benjamin Cooke Co-authored-by: Mattermod --- config/client.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/client.go b/config/client.go index 2b24878056..c8e9eedc52 100644 --- a/config/client.go +++ b/config/client.go @@ -244,6 +244,8 @@ func GenerateLimitedClientConfig(c *model.Config, telemetryID string, license *m props["EnableDiagnostics"] = strconv.FormatBool(*c.LogSettings.EnableDiagnostics) + props["EnableComplianceExport"] = strconv.FormatBool(*c.MessageExportSettings.EnableExport) + props["EnableSignUpWithEmail"] = strconv.FormatBool(*c.EmailSettings.EnableSignUpWithEmail) props["EnableSignInWithEmail"] = strconv.FormatBool(*c.EmailSettings.EnableSignInWithEmail) props["EnableSignInWithUsername"] = strconv.FormatBool(*c.EmailSettings.EnableSignInWithUsername)