From 34a0e71485b77844792938e285ded96aeb065151 Mon Sep 17 00:00:00 2001 From: Michael <heluecht@pirati.ca> Date: Sun, 11 Nov 2018 19:05:57 +0000 Subject: [PATCH] API: The wrong user had been shown for repeated posts --- include/api.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/api.php b/include/api.php index 5bfb2d65a..267ba0c06 100644 --- a/include/api.php +++ b/include/api.php @@ -2923,6 +2923,7 @@ function api_format_items($r, $user_info, $filter_user = false, $type = "json") $retweeted_item = api_share_as_retweet($item); if ($retweeted_item !== false) { $retweeted_status = $status; + $status['user'] = $status['friendica_owner']; try { $retweeted_status["user"] = api_get_user($a, $retweeted_item["author-id"]); } catch (BadRequestException $e) {