Merge pull request #190 from dansup/frontend-ui-refactor

Add self posts to personal timeline
pull/135/head^2
daniel 8 years ago committed by GitHub
commit 8d29b2aad4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)

Loading…
Cancel
Save