From: Michael Date: Fri, 21 Dec 2018 22:55:36 +0000 (+0000) Subject: API: Fix author of repeated items from Diaspora X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1f432d006bf05327288cd408d84350939c11e3c5;p=friendica.git API: Fix author of repeated items from Diaspora --- diff --git a/include/api.php b/include/api.php index 6ca47c01dd..77dfb7462b 100644 --- a/include/api.php +++ b/include/api.php @@ -4932,6 +4932,7 @@ function api_share_as_retweet(&$item) } $reshared_item["body"] = $shared_body; + $reshared_item["author-id"] = Contact::getIdForURL($profile, 0, true); $reshared_item["author-name"] = $author; $reshared_item["author-link"] = $profile; $reshared_item["author-avatar"] = $avatar;