mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 08:13:16 +00:00
Fix timeline infinite scroll
This commit is contained in:
parent
bb1cccbe03
commit
03a85460af
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue