Merge branch 'improve-view-source' into edit-view-source

This commit is contained in:
Panagiotis 2021-03-05 21:44:43 +02:00
commit ed6486aabb

View file

@ -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');
};