Skip to content
Snippets Groups Projects
Commit 24e7eeca authored by syuilo's avatar syuilo
Browse files
parent d7634526
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment