Pass Matrix client around as matrixClient
Signed-off-by: Robin Townsend <robin@robin.town>
This commit is contained in:
parent
6ced61b709
commit
121ed5eba9
3 changed files with 7 additions and 7 deletions
|
@ -158,7 +158,7 @@ export default class MessageContextMenu extends React.Component {
|
|||
|
||||
onForwardClick = () => {
|
||||
Modal.createTrackedDialog('Forward Message', '', ForwardDialog, {
|
||||
cli: MatrixClientPeg.get(),
|
||||
matrixClient: MatrixClientPeg.get(),
|
||||
event: this.props.mxEvent,
|
||||
permalinkCreator: this.props.permalinkCreator,
|
||||
}, 'mx_Dialog_forwardMessage');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue