mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
label previews with the target URL if all else fails
This commit is contained in:
parent
96b0f42db2
commit
1de4e0d2dd
@ -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…
x
Reference in New Issue
Block a user