From 39778330b562456e1d4191390c171356454d9ce5 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Mon, 7 Dec 2015 13:55:10 +0000 Subject: [PATCH] Also allow not_sent messages to be cancelled entirely. --- src/components/views/rooms/MessageContextMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/rooms/MessageContextMenu.js b/src/components/views/rooms/MessageContextMenu.js index 87e02c7a..58d8db0e 100644 --- a/src/components/views/rooms/MessageContextMenu.js +++ b/src/components/views/rooms/MessageContextMenu.js @@ -84,7 +84,7 @@ module.exports = React.createClass({ ); } - if (eventStatus === "queued") { + if (eventStatus === "queued" || eventStatus === "not_sent") { cancelButton = (
Cancel Sending