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:
parent
736ab743ee
commit
de384480c6
4 changed files with 7 additions and 5 deletions
|
@ -28,7 +28,7 @@ module.exports = React.createClass({
|
|||
|
||||
getInitialState: function() {
|
||||
return {
|
||||
decryptedUrl: null,
|
||||
decryptedUrl: (this.props.decryptedUrl ? this.props.decryptedUrl : null),
|
||||
};
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue