diff --git a/src/misc/populate-emojis.ts b/src/misc/populate-emojis.ts index a3f67ccb9..42aaaf070 100644 --- a/src/misc/populate-emojis.ts +++ b/src/misc/populate-emojis.ts @@ -61,7 +61,7 @@ export async function populateEmoji(emojiName: string, noteUserHost: string | nu if (emoji == null) return null; - const isLocal = emojiName.endsWith('@.'); + const isLocal = emoji.host == null; const url = isLocal ? emoji.url : `${config.url}/proxy/image.png?${query({url: emoji.url})}`; return {