You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
isExporting -> forExport and wrap EventTile with Context Provider
This commit is contained in:
@ -48,7 +48,7 @@ export default class MessageEvent extends React.Component {
|
||||
mediaSrc: PropTypes.string,
|
||||
|
||||
/* to set source to local file path during export */
|
||||
isExporting: PropTypes.bool,
|
||||
forExport: PropTypes.bool,
|
||||
|
||||
/* the maximum image height to use, if the event is an image */
|
||||
maxImageHeight: PropTypes.number,
|
||||
@ -127,7 +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}
|
||||
forExport={this.props.forExport}
|
||||
maxImageHeight={this.props.maxImageHeight}
|
||||
replacingEventId={this.props.replacingEventId}
|
||||
editState={this.props.editState}
|
||||
|
Reference in New Issue
Block a user