mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update LabsSettings controller
This commit is contained in:
parent
15b7442ca1
commit
32c0019209
1 changed files with 3 additions and 1 deletions
|
@ -53,8 +53,10 @@ trait LabsSettings {
|
||||||
if($profile->is_suggestable == false) {
|
if($profile->is_suggestable == false) {
|
||||||
$profile->is_suggestable = true;
|
$profile->is_suggestable = true;
|
||||||
$changes = true;
|
$changes = true;
|
||||||
|
if($profile->statuses->count() > 0) {
|
||||||
SuggestionService::set($profile->id);
|
SuggestionService::set($profile->id);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
$profile->is_suggestable = false;
|
$profile->is_suggestable = false;
|
||||||
$changes = true;
|
$changes = true;
|
||||||
|
|
Loading…
Reference in a new issue