Emoji: Fixes issue with handled link not correctly showing remote users (#36403)

This commit is contained in:
Echo authored and GitHub committed 2025-10-08 17:17:03 +00:00
1 parent b8444d9bb7
commit 5bc7c4b7e8
4 files changed
+42 -32

No files matched your search

@@ -48,9 +48,8 @@ export const EmbeddedStatusContent: React.FC<{
);
const htmlHandlers = useElementHandledLink({
hashtagAccountId: status.get('account') as string | undefined,
hrefToMentionAccountId(href) {
const mention = mentions.find((item) => item.url === href);
return mention?.id;
hrefToMention(href) {
return mentions.find((item) => item.url === href);
},
});