pull/21833/head
Michael Telatynski 2020-08-14 13:37:28 +01:00
parent cd87480088
commit 57f15bb1dd
1 changed files with 1 additions and 1 deletions

View File

@ -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()) {