Ver código fonte

Update SuggestionService

Daniel Supernault 6 anos atrás
pai
commit
b7a7368c62
1 arquivos alterados com 1 adições e 0 exclusões
  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);