mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-24 14:03:16 +00:00
Update ProfileController
This commit is contained in:
parent
cabd47be0a
commit
64dae33a87
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ class ProfileController extends Controller
|
|||
$blocked = $this->blockedProfileCheck($profile);
|
||||
$check = $this->privateProfileCheck($profile, null);
|
||||
if($check || $blocked) {
|
||||
return view('profile.private', compact('user'));
|
||||
return redirect($profile->url());
|
||||
}
|
||||
}
|
||||
$items = $profile->statuses()->whereIn('visibility',['public', 'unlisted'])->orderBy('created_at', 'desc')->take(10)->get();
|
||||
|
|
Loading…
Reference in a new issue