mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 09:17:03 +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)
|
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) {
|
if($profile->status != null) {
|
||||||
return $this->accountCheck($profile);
|
return $this->accountCheck($profile);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue