kopia lustrzana https://github.com/pixelfed/pixelfed
Merge pull request #5056 from pixelfed/staging
Update CustomEmojiService, only return local emojipull/5074/head
commit
74a3d5c6c0
|
@ -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);
|
||||
|
|
Ładowanie…
Reference in New Issue