You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Pass Matrix client around as matrixClient
Signed-off-by: Robin Townsend <robin@robin.town>
This commit is contained in:
@ -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');
|
||||
|
Reference in New Issue
Block a user