1
0
Fork 0
forked from mirror/pixelfed

Update LabsSettings controller

This commit is contained in:
Daniel Supernault 2019-05-12 22:19:18 -06:00
parent 15b7442ca1
commit 32c0019209
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -53,8 +53,10 @@ trait LabsSettings {
if($profile->is_suggestable == false) {
$profile->is_suggestable = true;
$changes = true;
if($profile->statuses->count() > 0) {
SuggestionService::set($profile->id);
}
}
} else {
$profile->is_suggestable = false;
$changes = true;