Only show download link below media if it's not in the timeline

This commit is contained in:
Travis Ralston 2021-07-16 11:05:04 -06:00
parent 7ba0adba77
commit 623f2e7613
5 changed files with 33 additions and 45 deletions

View file

@ -97,7 +97,7 @@ export default class MAudioBody extends React.PureComponent<IBodyProps, IState>
return (
<span className="mx_MAudioBody">
<AudioPlayer playback={this.state.playback} mediaName={this.props.mxEvent.getContent().body} />
{/*<MFileBody {...this.props} decryptedBlob={this.state.decryptedBlob} showGenericPlaceholder={false} />*/}
{ this.props.tileShape && <MFileBody {...this.props} showGenericPlaceholder={false} /> }
</span>
);
}