1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-26 09:46:49 +00:00

Fix timeline infinite scroll

This commit is contained in:
Daniel Supernault 2022-06-19 07:05:07 -06:00
parent bb1cccbe03
commit 03a85460af
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -401,6 +401,7 @@ class PublicApiController extends Controller
}
$res = collect($feed)
->take($limit)
->map(function($k) use($user) {
$status = StatusService::get($k);
if($status && isset($status['account']) && $user) {
@ -680,6 +681,7 @@ class PublicApiController extends Controller
}
$res = collect($feed)
->take($limit)
->map(function($k) use($user) {
$status = StatusService::get($k);
if($status && isset($status['account']) && $user) {