From aa76cf1c334c7766750ea00a04c41b0ba1752242 Mon Sep 17 00:00:00 2001 From: Vyr Cossont Date: Fri, 21 Jul 2023 16:23:15 -0700 Subject: [PATCH] Mastodon API: convert quoted status --- packages/backend/src/server/api/mastodon/converters.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/backend/src/server/api/mastodon/converters.ts b/packages/backend/src/server/api/mastodon/converters.ts index 3ef1e53f9..908464379 100644 --- a/packages/backend/src/server/api/mastodon/converters.ts +++ b/packages/backend/src/server/api/mastodon/converters.ts @@ -69,6 +69,7 @@ export function convertStatus(status: Entity.Status) { })); if (status.poll) status.poll = convertPoll(status.poll); if (status.reblog) status.reblog = convertStatus(status.reblog); + if (status.quote) status.quote = convertStatus(status.quote); status.reactions = status.reactions.map(convertReaction); return status;