diff --git a/src/misc/populate-emojis.ts b/src/misc/populate-emojis.ts
index a3f67ccb98..42aaaf0705 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 {