[Glitch] Fix not shown announcements in hometimeline.

Port 94f9888d57 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
lolsob-rspec
S.H 2023-06-05 21:49:51 +09:00 committed by Claire
parent 3dd186bbf1
commit 00307189bc
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ export function normalizePollOptionTranslation(translation, poll) {
export function normalizeAnnouncement(announcement) {
const normalAnnouncement = { ...announcement };
const emojiMap = makeEmojiMap.emojis(normalAnnouncement);
const emojiMap = makeEmojiMap(normalAnnouncement.emojis);
normalAnnouncement.contentHtml = emojify(normalAnnouncement.content, emojiMap);