Update HashtagUnfollowPipeline

pull/4766/head
Daniel Supernault 2023-11-14 23:05:17 -07:00
rodzic cf50618696
commit d8fbb4ff32
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 23740873EE6F76A1
1 zmienionych plików z 0 dodań i 4 usunięć

Wyświetl plik

@ -74,10 +74,6 @@ class HashtagUnfollowPipeline implements ShouldQueue, ShouldBeUniqueUntilProcess
$statusIds = HomeTimelineService::get($pid, 0, -1);
if(!$statusIds || !count($statusIds)) {
return;
}
$followingIds = Cache::remember('profile:following:'.$pid, 1209600, function() use($pid) {
$following = Follower::whereProfileId($pid)->pluck('following_id');
return $following->push($pid)->toArray();