fix PR feedback

This commit is contained in:
Bruno Windels 2019-01-09 12:48:13 +01:00
parent 9e67dbf008
commit 254427461d
8 changed files with 21 additions and 22 deletions

View file

@ -356,9 +356,6 @@ export default class MessageComposerInput extends React.Component {
componentWillMount() {
this.dispatcherRef = this.props.roomViewStore.getDispatcher().register(this.onAction);
if (this.props.isGrid) {
this.historyManager = new NoopHistoryManager();
} else {
this.historyManager = new ComposerHistoryManager(this.props.room.roomId, 'mx_slate_composer_history_');