Merge pull request #7427 from pixelfed/staging

Fix reblog account to show account who reblogged it, not who posted it
pull/7439/head
dansup 1 day ago committed by GitHub
commit 6b9a41ad04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2796,8 +2796,7 @@ class ApiV1Controller extends Controller
return false;
}
// Not $status['account'] = $account: $account is resolved from
// the row, StatusService picks the right one per client
$status['account'] = $account;
if ($pid) {
$status['favourited'] = (bool) LikeService::liked($pid, $s['id']);
@ -2875,8 +2874,7 @@ class ApiV1Controller extends Controller
return false;
}
// Not $status['account'] = $account: $account is resolved from
// the row, StatusService picks the right one per client
$status['account'] = $account;
if ($pid) {
$status['favourited'] = (bool) LikeService::liked($pid, $s['id']);

Loading…
Cancel
Save