kopia lustrzana https://github.com/pixelfed/pixelfed
rodzic
4751832ad3
commit
e88777ed57
|
@ -17,6 +17,7 @@ class TimelineController extends Controller
|
|||
{
|
||||
// TODO: Use redis for timelines
|
||||
$following = Follower::whereProfileId(Auth::user()->profile->id)->pluck('following_id');
|
||||
$following->push(Auth::user()->profile->id);
|
||||
$timeline = Status::whereHas('media')
|
||||
->whereNull('in_reply_to_id')
|
||||
->whereIn('profile_id', $following)
|
||||
|
|
Ładowanie…
Reference in New Issue