mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Merge pull request #5056 from pixelfed/staging
Update CustomEmojiService, only return local emoji
This commit is contained in:
commit
74a3d5c6c0
1 changed files with 1 additions and 0 deletions
|
@ -133,6 +133,7 @@ class CustomEmojiService
|
||||||
return CustomEmoji::when(!$pgsql, function($q, $pgsql) {
|
return CustomEmoji::when(!$pgsql, function($q, $pgsql) {
|
||||||
return $q->groupBy('shortcode');
|
return $q->groupBy('shortcode');
|
||||||
})
|
})
|
||||||
|
->whereNull('uri')
|
||||||
->get()
|
->get()
|
||||||
->map(function($emojo) {
|
->map(function($emojo) {
|
||||||
$url = url('storage/' . $emojo->media_path);
|
$url = url('storage/' . $emojo->media_path);
|
||||||
|
|
Loading…
Reference in a new issue