Add OEmbed data to the body of reshares

This commit is contained in:
Michael Vogel 2016-03-23 07:36:17 +01:00
parent e8c07aaac6
commit 28dfaa694c

View File

@ -1859,6 +1859,10 @@ class diaspora {
$r = array(); $r = array();
elseif (self::is_reshare($r[0]["body"], false)) { elseif (self::is_reshare($r[0]["body"], false)) {
$r[0]["body"] = diaspora2bb(bb2diaspora($r[0]["body"])); $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]; return $r[0];
} else } else
return $r[0]; return $r[0];