address PR comments
cleanup, change to isEncrypted, comments
This commit is contained in:
parent
2c64dac514
commit
7963d7f49e
2 changed files with 4 additions and 14 deletions
|
@ -77,7 +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(),
|
||||
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