sforkowany z mirror/soapbox
Rename map --> entity
rodzic
75db92719d
commit
ecaf726a19
|
@ -137,8 +137,8 @@ const normalizeMentions = (status: ImmutableMap<string, any>) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
// Normalize emojis
|
// Normalize emojis
|
||||||
const normalizeEmojis = (map: ImmutableMap<string, any>) => {
|
const normalizeEmojis = (entity: ImmutableMap<string, any>) => {
|
||||||
return map.update('emojis', ImmutableList(), emojis => {
|
return entity.update('emojis', ImmutableList(), emojis => {
|
||||||
return emojis.map(EmojiRecord);
|
return emojis.map(EmojiRecord);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Ładowanie…
Reference in New Issue