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

@ -311,6 +311,7 @@ export default class EventTile extends React.Component<IProps, IState> {
static defaultProps = {
// no-op function because onHeightChanged is optional yet some sub-components assume its existence
onHeightChanged: function() {},
isExporting: false,
};
static contextType = MatrixClientContext;
@ -1150,6 +1151,7 @@ export default class EventTile extends React.Component<IProps, IState> {
{ thread }
<EventTileType ref={this.tile}
mxEvent={this.props.mxEvent}
isExporting={this.props.isExporting}
replacingEventId={this.props.replacingEventId}
editState={this.props.editState}
mediaSrc={this.props.mediaSrc}