Merge remote-tracking branch 'origin/develop' into develop

pull/21833/head
Weblate 2018-02-06 09:14:42 +00:00
commit 584e47a031
1 changed files with 1 additions and 0 deletions

View File

@ -723,6 +723,7 @@ export default class MessageComposerInput extends React.Component {
const cmd = SlashCommands.processInput(this.props.room.roomId, commandText);
if (cmd) {
if (!cmd.error) {
this.historyManager.save(contentState, this.state.isRichtextEnabled ? 'html' : 'markdown');
this.setState({
editorState: this.createEditorState(),
});