From 93e7efba056a42d2e8134711bf81087a51c50f71 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 24 Jan 2022 13:58:52 -0600 Subject: [PATCH] Fedibird: fall back to quote_id --- app/soapbox/actions/importer/normalizer.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/soapbox/actions/importer/normalizer.js b/app/soapbox/actions/importer/normalizer.js index fae8b2787..c8f1a83ef 100644 --- a/app/soapbox/actions/importer/normalizer.js +++ b/app/soapbox/actions/importer/normalizer.js @@ -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