1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

Pass the decryptedUrl to the MFileBody so that it doesn't need to decrypt it itself.

This commit is contained in:
Mark Haines
2016-11-04 18:20:20 +00:00
parent 1529396ef5
commit 4214c67f8f
4 changed files with 6 additions and 5 deletions

View File

@@ -147,7 +147,7 @@ module.exports = React.createClass({
controls preload={preload} autoPlay={false}
height={height} width={width} poster={poster}>
</video>
<MFileBody {...this.props} />
<MFileBody {...this.props} decryptedUrl={this.state.decryptedUrl} />
</span>
);
},