Merge pull request #5713 from panoschal/improve-view-source
Display decrypted and encrypted event source on the same dialog
This commit is contained in:
commit
d33acaac95
7 changed files with 58 additions and 31 deletions
|
@ -77,6 +77,9 @@ 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.isEncrypted(),
|
||||
// FIXME: _clearEvent is private
|
||||
decryptedContent: this.props.mxEvent._clearEvent,
|
||||
}, 'mx_Dialog_viewsource');
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue