1
0
Fork 0
forked from mirror/pixelfed

Update PublicApiController, fix non-public visibility inclusion on home timeline

This commit is contained in:
Daniel Supernault 2022-06-05 03:23:41 -06:00
parent a73b2f0002
commit 5bcc02ecac
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -521,7 +521,7 @@ class PublicApiController extends Controller
->limit($limit)
->get()
->map(function($s) use ($user) {
$status = StatusService::get($s->id);
$status = StatusService::get($s->id, false);
if(!$status) {
return false;
}
@ -567,7 +567,7 @@ class PublicApiController extends Controller
->limit($limit)
->get()
->map(function($s) use ($user) {
$status = StatusService::get($s->id);
$status = StatusService::get($s->id, false);
if(!$status) {
return false;
}