sforkowany z mirror/soapbox
rodzic
bf8c454c23
commit
f6cee79c0e
|
@ -223,11 +223,11 @@ const normalizeDislikes = (status: ImmutableMap<string, any>) => {
|
||||||
if (status.get('friendica')) {
|
if (status.get('friendica')) {
|
||||||
return status
|
return status
|
||||||
.set('dislikes_count', status.getIn(['friendica', 'dislikes_count']))
|
.set('dislikes_count', status.getIn(['friendica', 'dislikes_count']))
|
||||||
.set('disliked', status.getIn(['friendica', 'disliked']))
|
.set('disliked', status.getIn(['friendica', 'disliked']));
|
||||||
}
|
}
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
};
|
||||||
|
|
||||||
export const normalizeStatus = (status: Record<string, any>) => {
|
export const normalizeStatus = (status: Record<string, any>) => {
|
||||||
return StatusRecord(
|
return StatusRecord(
|
||||||
|
|
Ładowanie…
Reference in New Issue