Also allow not_sent messages to be cancelled entirely.

This commit is contained in:
Kegan Dougal 2015-12-07 13:55:10 +00:00
parent 1af1297afc
commit 39778330b5

View file

@ -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