mirror of https://github.com/vector-im/riot-web
parent
7f496c7bf5
commit
b723092ed2
|
@ -197,7 +197,7 @@ export default class MessageContextMenu extends React.Component {
|
|||
action: 'forward_event',
|
||||
event: this.props.mxEvent,
|
||||
});
|
||||
this.props.onCloseDialog();
|
||||
if (this.props.onCloseDialog) this.props.onCloseDialog();
|
||||
this.closeMenu();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue