Browse Source

Update CustomEmojiService, only return local emoji

Daniel Supernault 1 year ago
parent
commit
7f8bba4415
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Services/CustomEmojiService.php

+ 1 - 0
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);