mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 01:05:36 +00:00
Update ProfileController
This commit is contained in:
parent
76e0a76ab0
commit
bf90263259
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ class ProfileController extends Controller
|
|||
|
||||
public function showAtomFeed(Request $request, $user)
|
||||
{
|
||||
$profile = $user = Profile::whereUsername($user)->firstOrFail();
|
||||
$profile = $user = Profile::whereNull('status')->whereNull('domain')->whereUsername($user)->whereIsPrivate(false)->firstOrFail();
|
||||
if($profile->status != null) {
|
||||
return $this->accountCheck($profile);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue