forked from mirror/pixelfed
Merge pull request #4771 from pixelfed/staging
Updaet HashtagUnfollowPipeline, fix typo
This commit is contained in:
commit
8b8fb5f6c0
|
@ -68,9 +68,9 @@ class HashtagUnfollowPipeline implements ShouldQueue
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$tags = collect($status['tags'])->filter(function($tag) {
|
$tags = collect($status['tags'])->map(function($tag) {
|
||||||
return $tag['name'];
|
return $tag['name'];
|
||||||
})->toArray();
|
})->filter()->values()->toArray();
|
||||||
|
|
||||||
if(in_array($slug, $tags)) {
|
if(in_array($slug, $tags)) {
|
||||||
HomeTimelineService::rem($pid, $id);
|
HomeTimelineService::rem($pid, $id);
|
||||||
|
|
Loading…
Reference in New Issue