MM-10360 Only show link previews if they have a url defined (#1655)
This commit is contained in:
parent
4d506b6e4d
commit
4b11195120
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ export default class PostAttachmentOpenGraph extends PureComponent {
|
|||
const {isReplyPost, openGraphData, theme} = this.props;
|
||||
const {hasImage, height, imageUrl, width} = this.state;
|
||||
|
||||
if (!openGraphData || openGraphData.description == null) {
|
||||
if (!openGraphData || !openGraphData.url) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue