Add emoji reaction bar into status view

This commit is contained in:
KMY 2023-02-24 17:51:57 +09:00
parent 092f9916b0
commit df6de7daf5
5 changed files with 129 additions and 0 deletions

View file

@ -66,6 +66,10 @@ export function normalizeStatus(status, normalOldStatus) {
normalStatus.filtered = status.filtered.map(normalizeFilterResult);
}
if (status.emoji_reactions) {
normalStatus.emojiReactions = status.emoji_reactions;
}
// Only calculate these values when status first encountered and
// when the underlying values change. Otherwise keep the ones
// already in the reducer