Browse Source

Update SuggestionService

Daniel Supernault 6 years ago
parent
commit
b7a7368c62
1 changed files with 1 additions and 0 deletions
  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);