From: Michael Vogel Date: Wed, 23 Mar 2016 06:36:17 +0000 (+0100) Subject: Add OEmbed data to the body of reshares X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=28dfaa694c2203163eee6d61b724dede4590c099;p=friendica.git Add OEmbed data to the body of reshares --- diff --git a/include/diaspora.php b/include/diaspora.php index 289f717708..b339e73157 100644 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -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];