diff --git a/src/components/views/messages/TextualBody.js b/src/components/views/messages/TextualBody.js index cd12c70f85..91a34fdfc5 100644 --- a/src/components/views/messages/TextualBody.js +++ b/src/components/views/messages/TextualBody.js @@ -161,7 +161,7 @@ module.exports = React.createClass({ calculateUrlPreview: function() { //console.log("calculateUrlPreview: ShowUrlPreview for %s is %s", this.props.mxEvent.getId(), this.props.showUrlPreview); - if (this.props.showUrlPreview && !this.state.links.length) { + if (this.props.showUrlPreview) { let links = this.findLinks(this.refs.content.children); if (links.length) { // de-dup the links (but preserve ordering)