mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-22 14:53:15 +00:00
Fix not shown announcements in hometimeline. (#25251)
This commit is contained in:
parent
a8310b15ed
commit
a6c898f501
|
@ -138,7 +138,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…
Reference in a new issue