diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-03-06 21:13:12 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-03-06 21:13:12 -0500 |
commit | e87f5c6cf912a4f650a056ee042f19268963177d (patch) | |
tree | 5bd573a645e8a3931ca2ee7131cac75d58871a5f /utils | |
parent | f99658152ac2e188d8196758ef5c635eaa3b3ae7 (diff) | |
download | chat-e87f5c6cf912a4f650a056ee042f19268963177d.tar.gz chat-e87f5c6cf912a4f650a056ee042f19268963177d.tar.bz2 chat-e87f5c6cf912a4f650a056ee042f19268963177d.zip |
Add system console switch for enabling link previews (#5663)
Diffstat (limited to 'utils')
-rw-r--r-- | utils/config.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/config.go b/utils/config.go index fd1597132..2996c241c 100644 --- a/utils/config.go +++ b/utils/config.go @@ -267,6 +267,7 @@ func getClientConfig(c *model.Config) map[string]string { props["EnableOnlyAdminIntegrations"] = strconv.FormatBool(*c.ServiceSettings.EnableOnlyAdminIntegrations) props["EnablePostUsernameOverride"] = strconv.FormatBool(c.ServiceSettings.EnablePostUsernameOverride) props["EnablePostIconOverride"] = strconv.FormatBool(c.ServiceSettings.EnablePostIconOverride) + props["EnableLinkPreviews"] = strconv.FormatBool(*c.ServiceSettings.EnableLinkPreviews) props["EnableTesting"] = strconv.FormatBool(c.ServiceSettings.EnableTesting) props["EnableDeveloper"] = strconv.FormatBool(*c.ServiceSettings.EnableDeveloper) props["EnableDiagnostics"] = strconv.FormatBool(*c.LogSettings.EnableDiagnostics) |