diff options
author | Chris <ccbrown112@gmail.com> | 2018-02-07 07:21:40 -0600 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2018-02-07 08:21:40 -0500 |
commit | b2ee5077931013d308aaf60d790d341e2cb0c3e3 (patch) | |
tree | 0c1145533cd26302c20f5f715feab22303fd18ec /app | |
parent | 121712ce5d61cd0bb35efa5bacd59f7f9daff326 (diff) | |
download | chat-b2ee5077931013d308aaf60d790d341e2cb0c3e3.tar.gz chat-b2ee5077931013d308aaf60d790d341e2cb0c3e3.tar.bz2 chat-b2ee5077931013d308aaf60d790d341e2cb0c3e3.zip |
allow plugins to set command hints (#8214)
Diffstat (limited to 'app')
-rw-r--r-- | app/plugin.go | 1 |
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, } |