From 57f15bb1dd91a761930a157e997ee9f46b62eb8d Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 14 Aug 2020 13:37:28 +0100 Subject: [PATCH] fix typo --- src/components/views/messages/MessageActionBar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/messages/MessageActionBar.js b/src/components/views/messages/MessageActionBar.js index 4a6b3c39fb..c94f296eac 100644 --- a/src/components/views/messages/MessageActionBar.js +++ b/src/components/views/messages/MessageActionBar.js @@ -115,7 +115,7 @@ export default class MessageActionBar extends React.PureComponent { static contextType = RoomContext; componentDidMount() { - if (this.props.mxEvent.status && this.props.mxEvent !== EventStatus.SENT) { + if (this.props.mxEvent.status && this.props.mxEvent.status !== EventStatus.SENT) { this.props.mxEvent.on("Event.status", this.onSent); } if (this.props.mxEvent.isBeingDecrypted()) {