1
0
Fork 0
forked from mirror/pixelfed

Merge pull request #4766 from pixelfed/staging

Update HashtagUnfollowPipeline
This commit is contained in:
daniel 2023-11-14 23:06:49 -07:00 committed by GitHub
commit f203d0540f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();