From 28dfaa694c2203163eee6d61b724dede4590c099 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Wed, 23 Mar 2016 07:36:17 +0100 Subject: [PATCH] Add OEmbed data to the body of reshares --- include/diaspora.php | 4 ++++ 1 file changed, 4 insertions(+) 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];