diff --git a/src/components/views/context_menus/MessageContextMenu.js b/src/components/views/context_menus/MessageContextMenu.js index af7b7178c7..d2ae368cec 100644 --- a/src/components/views/context_menus/MessageContextMenu.js +++ b/src/components/views/context_menus/MessageContextMenu.js @@ -150,6 +150,7 @@ export default class MessageContextMenu extends React.Component { undefined, reason ? { reason } : {}, ); + if (this.props.onCloseDialog) this.props.onCloseDialog(); } catch (e) { const code = e.errcode || e.statusCode; // only show the dialog if failing for something other than a network error