From 2f905e13e1a2d10fa781c680455479ae9e181075 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Mon, 7 Dec 2015 16:04:46 +0000 Subject: [PATCH] Invoke onFinished so the context menu doesn't hang around --- src/components/views/rooms/MessageContextMenu.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/views/rooms/MessageContextMenu.js b/src/components/views/rooms/MessageContextMenu.js index 58d8db0ee..4950cd882 100644 --- a/src/components/views/rooms/MessageContextMenu.js +++ b/src/components/views/rooms/MessageContextMenu.js @@ -59,6 +59,7 @@ module.exports = React.createClass({ onCancelSendClick: function() { Resend.removeFromQueue(this.props.mxEvent); + if (this.props.onFinished) this.props.onFinished(); }, render: function() {