1
0
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:
Robin Townsend
2021-05-24 08:51:04 -04:00
parent 6ced61b709
commit 121ed5eba9
3 changed files with 7 additions and 7 deletions

View File

@ -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');