Update CustomEmojiService, only return local emoji

pull/5056/head
Daniel Supernault 10 months ago
parent e46bd6cc06
commit 7f8bba4415
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -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);

Loading…
Cancel
Save