Merge pull request #5485 from pixelfed/staging

Update Discover, fix account bug
This commit is contained in:
daniel 2025-01-16 00:48:21 -07:00 committed by GitHub
commit a5ecae9b66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -190,6 +190,7 @@ class DiscoverController extends Controller
})->filter(function ($s) use ($filtered) { })->filter(function ($s) use ($filtered) {
return return
$s && $s &&
isset($s['account'], $s['account']['id']) &&
! in_array($s['account']['id'], $filtered) && ! in_array($s['account']['id'], $filtered) &&
isset($s['account']); isset($s['account']);
})->values(); })->values();