diff options
Diffstat (limited to 'webapp/actions/channel_actions.jsx')
-rw-r--r-- | webapp/actions/channel_actions.jsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/webapp/actions/channel_actions.jsx b/webapp/actions/channel_actions.jsx index 7987bf87c..5dc83379e 100644 --- a/webapp/actions/channel_actions.jsx +++ b/webapp/actions/channel_actions.jsx @@ -4,7 +4,12 @@ import {browserHistory} from 'react-router'; import TeamStore from 'stores/team_store.jsx'; +import Client from 'utils/web_client.jsx'; export function goToChannel(channel) { browserHistory.push(TeamStore.getCurrentTeamRelativeUrl() + '/channels/' + channel.name); -}
\ No newline at end of file +} + +export function executeCommand(channelId, message, suggest, success, error) { + Client.executeCommand(channelId, message, suggest, success, error); +} |