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

Conflicts:
	src/components/views/messages/MImageBody.js
This commit is contained in:
Mark Haines 2016-11-04 18:20:20 +00:00
parent 736ab743ee
commit de384480c6
4 changed files with 7 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>
);
},