Revert "PLT-2183 Slash command auto-complete"

Этот коммит содержится в:
Christopher Speller
2016-03-18 13:16:51 -04:00
родитель 6d586c7309
Коммит 35320efe1a
14 изменённых файлов: 151 добавлений и 333 удалений

Просмотреть файл

@@ -37,9 +37,9 @@ CommandSuggestion.propTypes = {
};
export default class CommandProvider {
handlePretextChanged(suggestionId, pretext, channelId) {
handlePretextChanged(suggestionId, pretext) {
if (pretext.startsWith('/')) {
AsyncClient.getSuggestedCommands(pretext, channelId, suggestionId, CommandSuggestion);
AsyncClient.getSuggestedCommands(pretext, suggestionId, CommandSuggestion);
}
}
}