From 1f432d006bf05327288cd408d84350939c11e3c5 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 21 Dec 2018 22:55:36 +0000 Subject: [PATCH] API: Fix author of repeated items from Diaspora --- include/api.php | 1 + 1 file changed, 1 insertion(+) 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;