If slash command fails leave the command in the textbox

This commit is contained in:
Elias Nahum 2018-07-12 19:21:53 -04:00
parent e269c0a4d3
commit 26389994d7
No known key found for this signature in database
GPG key ID: E038DB71E0B61702

View file

@ -424,6 +424,8 @@ export default class PostTextbox extends PureComponent {
const {error} = await actions.executeCommand(msg, channelId, rootId);
if (error) {
this.handleTextChange(msg);
this.changeDraft(msg);
Alert.alert(
intl.formatMessage({
id: 'mobile.commands.error_title',