Update ProfileController

This commit is contained in:
Daniel Supernault 2018-11-08 18:26:49 -07:00
parent 4300315fd6
commit 853a4bc7a5
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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;
}