mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
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 = (
|
cancelButton = (
|
||||||
<div className="mx_ContextualMenu_field" onClick={this.onCancelSendClick}>
|
<div className="mx_ContextualMenu_field" onClick={this.onCancelSendClick}>
|
||||||
Cancel Sending
|
Cancel Sending
|
||||||
|
Loading…
Reference in New Issue
Block a user