You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-12-02 21:22:41 +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