Pass the decryptedUrl to the MFileBody so that it doesn't need to decrypt it itself.
This commit is contained in:
parent
1529396ef5
commit
4214c67f8f
4 changed files with 6 additions and 5 deletions
|
@ -81,7 +81,7 @@ export default class MAudioBody extends React.Component {
|
|||
return (
|
||||
<span className="mx_MAudioBody">
|
||||
<audio src={contentUrl} controls />
|
||||
<MFileBody {...this.props} />
|
||||
<MFileBody {...this.props} decryptedUrl={this.state.decryptedUrl} />
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue