diff --git a/app/Http/Controllers/Settings/PrivacySettings.php b/app/Http/Controllers/Settings/PrivacySettings.php index e45536150..3cee63322 100644 --- a/app/Http/Controllers/Settings/PrivacySettings.php +++ b/app/Http/Controllers/Settings/PrivacySettings.php @@ -38,6 +38,10 @@ trait PrivacySettings 'show_profile_follower_count', 'show_profile_following_count', ]; + + $profile->is_suggestable = $request->input('is_suggestable') == 'on'; + $profile->save(); + foreach ($fields as $field) { $form = $request->input($field); if ($field == 'is_private') { diff --git a/resources/views/settings/privacy.blade.php b/resources/views/settings/privacy.blade.php index 681d070c4..8c4142908 100644 --- a/resources/views/settings/privacy.blade.php +++ b/resources/views/settings/privacy.blade.php @@ -24,6 +24,7 @@

When your account is private, only people you approve can see your photos and videos on pixelfed. Your existing followers won't be affected.

+
crawlable ? 'checked=""':''}} {{$settings->is_private ? 'disabled=""':''}}>
- {{--
- is_private ? 'disabled=""':''}} {{$settings->show_discover ? 'checked=""':''}}> -
+
public_dm ? 'checked=""':''}} name="public_dm">