[Glitch] Fix not shown announcements in hometimeline.
Port a6c898f50160c322eb53252a9a2fff8b7b93a0fb to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
475185a2ee
commit
5a961f84cf
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user