From: Michael Date: Sun, 11 Nov 2018 19:05:57 +0000 (+0000) Subject: API: The wrong user had been shown for repeated posts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=34a0e71485b77844792938e285ded96aeb065151;p=friendica.git API: The wrong user had been shown for repeated posts --- diff --git a/include/api.php b/include/api.php index 5bfb2d65a2..267ba0c067 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) {