summaryrefslogtreecommitdiffstats
path: root/webapp/components/suggestion/command_provider.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/suggestion/command_provider.jsx')
-rw-r--r--webapp/components/suggestion/command_provider.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/suggestion/command_provider.jsx b/webapp/components/suggestion/command_provider.jsx
index 58b77a331..ea89df98d 100644
--- a/webapp/components/suggestion/command_provider.jsx
+++ b/webapp/components/suggestion/command_provider.jsx
@@ -35,7 +35,7 @@ class CommandSuggestion extends Suggestion {
export default class CommandProvider {
handlePretextChanged(suggestionId, pretext) {
if (pretext.startsWith('/')) {
- AsyncClient.getSuggestedCommands(pretext, suggestionId, CommandSuggestion, pretext);
+ AsyncClient.getSuggestedCommands(pretext.toLowerCase(), suggestionId, CommandSuggestion, pretext.toLowerCase());
}
}
}