mirror of
https://github.com/element-hq/element-web
synced 2024-10-26 04:35:55 +03:00
label previews with the target URL if all else fails
This commit is contained in:
parent
96b0f42db2
commit
1de4e0d2dd
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ module.exports = React.createClass({
|
|||
src: src,
|
||||
width: p["og:image:width"],
|
||||
height: p["og:image:height"],
|
||||
name: p["og:title"] || p["og:description"],
|
||||
name: p["og:title"] || p["og:description"] || this.props.link,
|
||||
size: p["matrix:image:size"],
|
||||
link: this.props.link,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue