Explorar o código

Update CustomEmojiService, only return local emoji

Daniel Supernault hai 1 ano
pai
achega
7f8bba4415
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);