Fix custom emojis not displaying in CWs and fav/boost notifications (#37306)

This commit is contained in:
Claire 2025-12-18 17:49:03 +01:00 committed by GitHub
parent 2a7e5fb3f7
commit a8109e50fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ export const ContentWarning: React.FC<{
<EmojiHTML <EmojiHTML
as='span' as='span'
htmlString={text} htmlString={text}
extraEmojis={status.get('emoji') as List<CustomEmoji>} extraEmojis={status.get('emojis') as List<CustomEmoji>}
/> />
</StatusBanner> </StatusBanner>
); );

View File

@ -34,7 +34,7 @@ export const EmbeddedStatusContent: React.FC<{
className={className} className={className}
lang={status.get('language') as string} lang={status.get('language') as string}
htmlString={status.get('contentHtml') as string} htmlString={status.get('contentHtml') as string}
extraEmojis={status.get('emoji') as List<CustomEmoji>} extraEmojis={status.get('emojis') as List<CustomEmoji>}
/> />
); );
}; };