Compare commits

...

2 Commits

Author SHA1 Message Date
daniel 74a3d5c6c0
Merge pull request #5056 from pixelfed/staging
Update CustomEmojiService, only return local emoji
2024-04-23 05:55:10 -06:00
Daniel Supernault 7f8bba4415
Update CustomEmojiService, only return local emoji 2024-04-23 05:54:24 -06:00
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ class CustomEmojiService
return CustomEmoji::when(!$pgsql, function($q, $pgsql) {
return $q->groupBy('shortcode');
})
->whereNull('uri')
->get()
->map(function($emojo) {
$url = url('storage/' . $emojo->media_path);