mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 12:16:53 +02:00
fix: show decrypted source on EditHistory -> ViewSource
pass correct props to the component
This commit is contained in:
parent
725162ee00
commit
2c64dac514
@ -77,6 +77,8 @@ export default class EditHistoryMessage extends React.PureComponent {
|
||||
roomId: this.props.mxEvent.getRoomId(),
|
||||
eventId: this.props.mxEvent.getId(),
|
||||
content: this.props.mxEvent.event,
|
||||
isEncrypted: this.props.mxEvent.getType() !== this.props.mxEvent.getWireType(),
|
||||
decryptedContent: this.props.mxEvent._clearEvent,
|
||||
}, 'mx_Dialog_viewsource');
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user