Fix editEvent() call (#7846)

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2022-02-18 16:15:18 +01:00 committed by GitHub
parent fe7f1688dd
commit ca89d3b96e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -229,7 +229,7 @@ export default class MessageActionBar extends React.PureComponent<IMessageAction
}; };
private onEditClick = (): void => { private onEditClick = (): void => {
editEvent(this.props.mxEvent, this.context.timelineRenderingType); editEvent(this.props.mxEvent, this.context.timelineRenderingType, this.props.getRelationsForEvent);
}; };
private readonly forbiddenThreadHeadMsgType = [ private readonly forbiddenThreadHeadMsgType = [