Fix not shown announcements in hometimeline. (#25251)
This commit is contained in:
parent
5846344977
commit
94f9888d57
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ export function normalizePollOptionTranslation(translation, poll) {
|
||||||
|
|
||||||
export function normalizeAnnouncement(announcement) {
|
export function normalizeAnnouncement(announcement) {
|
||||||
const normalAnnouncement = { ...announcement };
|
const normalAnnouncement = { ...announcement };
|
||||||
const emojiMap = makeEmojiMap.emojis(normalAnnouncement);
|
const emojiMap = makeEmojiMap(normalAnnouncement.emojis);
|
||||||
|
|
||||||
normalAnnouncement.contentHtml = emojify(normalAnnouncement.content, emojiMap);
|
normalAnnouncement.contentHtml = emojify(normalAnnouncement.content, emojiMap);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue