summaryrefslogtreecommitdiffstats
path: root/app/plugin.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2018-02-07 07:21:40 -0600
committerJoram Wilander <jwawilander@gmail.com>2018-02-07 08:21:40 -0500
commitb2ee5077931013d308aaf60d790d341e2cb0c3e3 (patch)
tree0c1145533cd26302c20f5f715feab22303fd18ec /app/plugin.go
parent121712ce5d61cd0bb35efa5bacd59f7f9daff326 (diff)
downloadchat-b2ee5077931013d308aaf60d790d341e2cb0c3e3.tar.gz
chat-b2ee5077931013d308aaf60d790d341e2cb0c3e3.tar.bz2
chat-b2ee5077931013d308aaf60d790d341e2cb0c3e3.zip
allow plugins to set command hints (#8214)
Diffstat (limited to 'app/plugin.go')
-rw-r--r--app/plugin.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/plugin.go b/app/plugin.go
index 3f06a000f..fe671d26a 100644
--- a/app/plugin.go
+++ b/app/plugin.go
@@ -565,6 +565,7 @@ func (a *App) RegisterPluginCommand(pluginId string, command *model.Command) err
TeamId: command.TeamId,
AutoComplete: command.AutoComplete,
AutoCompleteDesc: command.AutoCompleteDesc,
+ AutoCompleteHint: command.AutoCompleteHint,
DisplayName: command.DisplayName,
}