mirror of https://github.com/vector-im/riot-web
Fix `editEvent()` call (#7846)
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
fe7f1688dd
commit
ca89d3b96e
|
@ -229,7 +229,7 @@ export default class MessageActionBar extends React.PureComponent<IMessageAction
|
|||
};
|
||||
|
||||
private onEditClick = (): void => {
|
||||
editEvent(this.props.mxEvent, this.context.timelineRenderingType);
|
||||
editEvent(this.props.mxEvent, this.context.timelineRenderingType, this.props.getRelationsForEvent);
|
||||
};
|
||||
|
||||
private readonly forbiddenThreadHeadMsgType = [
|
||||
|
|
Loading…
Reference in New Issue