From 7f8bba44158dbdf237e07975500ac110fed1e8ca Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 23 Apr 2024 05:54:24 -0600 Subject: [PATCH] Update CustomEmojiService, only return local emoji --- app/Services/CustomEmojiService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Services/CustomEmojiService.php b/app/Services/CustomEmojiService.php index 468772b5f..f9f267174 100644 --- a/app/Services/CustomEmojiService.php +++ b/app/Services/CustomEmojiService.php @@ -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);