API: Fix author of repeated items from Diaspora

This commit is contained in:
Michael 2018-12-21 22:55:36 +00:00
부모 1cab44827f
커밋 1f432d006b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제

파일 보기

@ -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;