API: Fix author of repeated items from Diaspora

Este commit está contenido en:
Michael 2018-12-21 22:55:36 +00:00
padre 1cab44827f
commit 1f432d006b
Se han modificado 1 ficheros con 1 adiciones y 0 borrados

Ver fichero

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