mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Update ProfileController
This commit is contained in:
parent
4300315fd6
commit
853a4bc7a5
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,8 @@ class ProfileController extends Controller
|
|||
if ($user->remote_url) {
|
||||
$settings = new \StdClass;
|
||||
$settings->crawlable = false;
|
||||
$settings->show_profile_follower_count = true;
|
||||
$settings->show_profile_following_count = true;
|
||||
} else {
|
||||
$settings = User::whereUsername($username)->firstOrFail()->settings;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue