mirror of
https://github.com/friendica/friendica
synced 2024-11-10 06:22:53 +00:00
API: Fix author of repeated items from Diaspora
This commit is contained in:
parent
1cab44827f
commit
1f432d006b
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue