forked from mirror/pixelfed
Update StatusTagPipeline
This commit is contained in:
parent
bf2828c2ee
commit
489fdbb248
|
@ -44,7 +44,6 @@ class StatusTagsPipeline implements ShouldQueue
|
||||||
// return in_array($tag['type'], ['Emoji', 'Hashtag', 'Mention']);
|
// return in_array($tag['type'], ['Emoji', 'Hashtag', 'Mention']);
|
||||||
return $tag && $tag['type'] == 'Emoji';
|
return $tag && $tag['type'] == 'Emoji';
|
||||||
})
|
})
|
||||||
->values()
|
|
||||||
->map(function($tag) {
|
->map(function($tag) {
|
||||||
CustomEmojiService::import($tag['id']);
|
CustomEmojiService::import($tag['id']);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue