Daniel Supernault 6 лет назад
Родитель
Сommit
b7a7368c62
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      app/Services/SuggestionService.php

+ 1 - 0
app/Services/SuggestionService.php

@@ -45,6 +45,7 @@ class SuggestionService {
 			$ids = Profile::whereNull('domain')
 				->whereIsSuggestable(true)
 				->whereIsPrivate(false)
+				->whereHas('statuses')
 				->pluck('id');
 			foreach($ids as $id) {
 				self::set($id);