]> git.mxchange.org Git - friendica.git/commitdiff
Take the author from the author
authorMichael <heluecht@pirati.ca>
Sun, 17 Mar 2019 18:46:22 +0000 (18:46 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 17 Mar 2019 18:46:22 +0000 (18:46 +0000)
include/api.php

index 4e6cd628a5861ac484215f27e100a1fdcfcf889e..b1ee607abbddf40afa1cbfa183f26d5a68382e1d 100644 (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'];
                        }
                }