From daa2250023d3cbe592de402b3bf5f4a3538cbb5f Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 2 Jul 2019 18:30:57 +0200 Subject: [PATCH] fix lint --- src/components/views/elements/MessageEditor.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/views/elements/MessageEditor.js b/src/components/views/elements/MessageEditor.js index 0a3d6443d9..593e5bc616 100644 --- a/src/components/views/elements/MessageEditor.js +++ b/src/components/views/elements/MessageEditor.js @@ -206,7 +206,10 @@ export default class MessageEditor extends React.Component { _cancelPreviousPendingEdit() { const originalEvent = this.props.editState.getEvent(); const previousEdit = originalEvent.replacingEvent(); - if (previousEdit && (previousEdit.status === EventStatus.QUEUED || previousEdit.status === EventStatus.NOT_SENT)) { + if (previousEdit && ( + previousEdit.status === EventStatus.QUEUED || + previousEdit.status === EventStatus.NOT_SENT + )) { this.context.matrixClient.cancelPendingEvent(previousEdit); } }