fix: show decrypted source on EditHistory -> ViewSource
pass correct props to the component
This commit is contained in:
parent
725162ee00
commit
2c64dac514
1 changed files with 2 additions and 0 deletions
|
@ -77,6 +77,8 @@ export default class EditHistoryMessage extends React.PureComponent {
|
||||||
roomId: this.props.mxEvent.getRoomId(),
|
roomId: this.props.mxEvent.getRoomId(),
|
||||||
eventId: this.props.mxEvent.getId(),
|
eventId: this.props.mxEvent.getId(),
|
||||||
content: this.props.mxEvent.event,
|
content: this.props.mxEvent.event,
|
||||||
|
isEncrypted: this.props.mxEvent.getType() !== this.props.mxEvent.getWireType(),
|
||||||
|
decryptedContent: this.props.mxEvent._clearEvent,
|
||||||
}, 'mx_Dialog_viewsource');
|
}, 'mx_Dialog_viewsource');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue