mirror of
https://github.com/friendica/friendica
synced 2024-12-23 23:20:16 +00:00
Add OEmbed data to the body of reshares
This commit is contained in:
parent
ab0325b9a9
commit
a0c0881e54
1 changed files with 4 additions and 0 deletions
|
@ -1859,6 +1859,10 @@ class diaspora {
|
|||
$r = array();
|
||||
elseif (self::is_reshare($r[0]["body"], false)) {
|
||||
$r[0]["body"] = diaspora2bb(bb2diaspora($r[0]["body"]));
|
||||
|
||||
// Add OEmbed and other information to the body
|
||||
$r[0]["body"] = add_page_info_to_body($r[0]["body"], false, true);
|
||||
|
||||
return $r[0];
|
||||
} else
|
||||
return $r[0];
|
||||
|
|
Loading…
Reference in a new issue