Take the author from the author

This commit is contained in:
Michael 2019-03-17 18:46:22 +00:00
parent b8b5b7b753
commit 80a33763ea

View file

@ -3066,7 +3066,7 @@ function api_format_items($r, $user_info, $filter_user = false, $type = "json")
$retweeted_status['friendica_activities'] = api_format_items_activities($retweeted_item, $type);
$retweeted_status['created_at'] = api_date($retweeted_item['created']);
$status['retweeted_status'] = $retweeted_status;
$status['friendica_author'] = $retweeted_status['user'];
$status['friendica_author'] = $retweeted_status['friendica_author'];
}
}