Fedibird: fall back to quote_id

This commit is contained in:
Alex Gleason
2022-01-24 13:58:52 -06:00
parent 9abeb2a324
commit 93e7efba05

View File

@ -61,6 +61,9 @@ export function normalizeStatus(status, normalOldStatus, expandSpoilers) {
} else if (status.quote && status.quote.id) {
// Fedibird compatibility, because why not
normalStatus.quote = status.quote.id;
} else if (status.quote_id) {
// Fedibird: fall back to quote_id
normalStatus.quote = status.quote_id;
}
// Only calculate these values when status first encountered