diff options
author | David Lu <david.lu@hotmail.com> | 2016-07-14 10:05:25 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-07-14 10:05:25 -0400 |
commit | 8e810bc2ebb743717b5b0fc4541fcd3b2565966c (patch) | |
tree | f9ad319c1ed0c0dc8683b134965a986734dbbf90 /webapp/components/integrations | |
parent | 9b9facd3d21a7ab341dd6d80fd8b53fb852ae036 (diff) | |
download | chat-8e810bc2ebb743717b5b0fc4541fcd3b2565966c.tar.gz chat-8e810bc2ebb743717b5b0fc4541fcd3b2565966c.tar.bz2 chat-8e810bc2ebb743717b5b0fc4541fcd3b2565966c.zip |
PLT-3153 Converted slash command triggers to lowercase on save (#3577)
* Converted slash command triggers to lowercase on save
* Made slash commands case insensitive
Diffstat (limited to 'webapp/components/integrations')
-rw-r--r-- | webapp/components/integrations/components/add_command.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/integrations/components/add_command.jsx b/webapp/components/integrations/components/add_command.jsx index e72670e47..cf563875b 100644 --- a/webapp/components/integrations/components/add_command.jsx +++ b/webapp/components/integrations/components/add_command.jsx @@ -72,7 +72,7 @@ export default class AddCommand extends React.Component { const command = { display_name: this.state.displayName, description: this.state.description, - trigger: this.state.trigger.trim(), + trigger: this.state.trigger.trim().toLowerCase(), url: this.state.url.trim(), method: this.state.method, username: this.state.username, |