summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-09-05 18:12:55 -0400
committerGitHub <noreply@github.com>2017-09-05 18:12:55 -0400
commitdf085d273d7ed3fe0d53b78364da46cdd6429c53 (patch)
tree9fee7f44a9304498ec969a51e16e48351d361d97 /utils
parente30e4cfe3d787e2528419b0d17973eb0fc162d56 (diff)
downloadchat-df085d273d7ed3fe0d53b78364da46cdd6429c53.tar.gz
chat-df085d273d7ed3fe0d53b78364da46cdd6429c53.tar.bz2
chat-df085d273d7ed3fe0d53b78364da46cdd6429c53.zip
Experimental plugin system console UI (#7338)
* Add system console UI for uploading/listing/removing plugins * Add localization strings * Add banner to plugin settings * Updating UI for experimental plugins (#7362) * Text updates * Updating UI for experimental plugin stuff (#7377) * Properly clear file input after upload
Diffstat (limited to 'utils')
-rw-r--r--utils/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/config.go b/utils/config.go
index b8ec43eb5..c77d655dc 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -536,6 +536,8 @@ func getClientConfig(c *model.Config) map[string]string {
props["DiagnosticId"] = CfgDiagnosticId
props["DiagnosticsEnabled"] = strconv.FormatBool(*c.LogSettings.EnableDiagnostics)
+ props["PluginsEnabled"] = strconv.FormatBool(*c.PluginSettings.Enable)
+
if IsLicensed() {
License := License()