瀏覽代碼

Update SuggestionService

Daniel Supernault 6 年之前
父節點
當前提交
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);