Fix ForwardDialog crashing when rendering reply
Signed-off-by: Robin Townsend <robin@robin.town>
This commit is contained in:
parent
c96888c9cb
commit
100efb1a90
2 changed files with 8 additions and 2 deletions
|
@ -158,6 +158,7 @@ export default class MessageContextMenu extends React.Component {
|
|||
Modal.createTrackedDialog('Forward Message', '', ForwardDialog, {
|
||||
cli: MatrixClientPeg.get(),
|
||||
event: this.props.mxEvent,
|
||||
permalinkCreator: this.props.permalinkCreator,
|
||||
}, 'mx_Dialog_forwardmessage');
|
||||
this.closeMenu();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue