diff --git a/app/Models/CustomEmoji.php b/app/Models/CustomEmoji.php index 720ea136b..45e26121d 100644 --- a/app/Models/CustomEmoji.php +++ b/app/Models/CustomEmoji.php @@ -47,7 +47,7 @@ class CustomEmoji extends Model return [ 'shortcode' => $match, 'url' => $url, - 'static_path' => $url, + 'static_url' => $url, 'visible_in_picker' => $tag->disabled == false ]; } @@ -57,7 +57,7 @@ class CustomEmoji extends Model if($activitypub == true) { return $tag && isset($tag['icon']); } else { - return $tag && isset($tag['static_path']); + return $tag && isset($tag['static_url']); } }) ->values() diff --git a/app/Services/CustomEmojiService.php b/app/Services/CustomEmojiService.php index 72615884b..74957e28e 100644 --- a/app/Services/CustomEmojiService.php +++ b/app/Services/CustomEmojiService.php @@ -118,7 +118,7 @@ class CustomEmojiService return [ 'shortcode' => str_replace(':', '', $emojo->shortcode), 'url' => $url, - 'static_path' => $url, + 'static_url' => $url, 'visible_in_picker' => $emojo->disabled == false ]; })