mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Updaet HashtagUnfollowPipeline, fix typo
This commit is contained in:
parent
19233cc976
commit
3e96fa8a56
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue