forked from matrix/element-web
Also allow not_sent messages to be cancelled entirely.
This commit is contained in:
parent
1af1297afc
commit
39778330b5
|
@ -84,7 +84,7 @@ module.exports = React.createClass({
|
|||
);
|
||||
}
|
||||
|
||||
if (eventStatus === "queued") {
|
||||
if (eventStatus === "queued" || eventStatus === "not_sent") {
|
||||
cancelButton = (
|
||||
<div className="mx_ContextualMenu_field" onClick={this.onCancelSendClick}>
|
||||
Cancel Sending
|
||||
|
|
Loading…
Reference in New Issue