1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-15 11:01:52 +03:00

Handle icons and skip decryption checks during export

This commit is contained in:
Jaiwanth
2021-06-01 14:47:01 +05:30
parent 5f9cf5760d
commit 1382bd4fee
8 changed files with 39 additions and 7 deletions

View File

@ -47,6 +47,9 @@ export default class MessageEvent extends React.Component {
/* to set source to local file path during export */
mediaSrc: PropTypes.string,
/* to set source to local file path during export */
isExporting: PropTypes.bool,
/* the maximum image height to use, if the event is an image */
maxImageHeight: PropTypes.number,
@ -124,6 +127,7 @@ export default class MessageEvent extends React.Component {
showUrlPreview={this.props.showUrlPreview}
tileShape={this.props.tileShape}
mediaSrc={this.props.mediaSrc}
isExporting={this.props.isExporting}
maxImageHeight={this.props.maxImageHeight}
replacingEventId={this.props.replacingEventId}
editState={this.props.editState}