- Address https://github.com/friendica/friendica/issues/11993#issuecomment-
1321194769
*/
public static function getReshareDetails(array $item): array
{
- $reshared = DI::contentItem()->getSharedPost($item, ['network', 'author-addr']);
+ $reshared = DI::contentItem()->getSharedPost($item, ['guid', 'network', 'author-addr']);
if (empty($reshared)) {
return [];
}
return [
'root_handle' => strtolower($reshared['post']['author-addr']),
- 'root_guid' => $reshared['guid']
+ 'root_guid' => $reshared['post']['guid'],
];
}