Emoji: Fixes issue with handled link not correctly showing remote users (#36403)
This commit is contained in:
4 files changed
+42
-32
No files matched your search
+2
-3
@@ -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);
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user