mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update ProfileController
This commit is contained in:
parent
43e36b45b2
commit
cabd47be0a
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ class ProfileController extends Controller
|
|||
return view('profile.private', compact('user'));
|
||||
}
|
||||
}
|
||||
$items = $profile->statuses()->orderBy('created_at', 'desc')->take(10)->get();
|
||||
$items = $profile->statuses()->whereIn('visibility',['public', 'unlisted'])->orderBy('created_at', 'desc')->take(10)->get();
|
||||
return response()->view('atom.user', compact('profile', 'items'))
|
||||
->header('Content-Type', 'application/atom+xml');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue