Mastodon API: convert quoted status

This commit is contained in:
Vyr Cossont 2023-07-21 16:23:15 -07:00
parent d072f014b1
commit aa76cf1c33

View File

@ -69,6 +69,7 @@ export function convertStatus(status: Entity.Status) {
})); }));
if (status.poll) status.poll = convertPoll(status.poll); if (status.poll) status.poll = convertPoll(status.poll);
if (status.reblog) status.reblog = convertStatus(status.reblog); if (status.reblog) status.reblog = convertStatus(status.reblog);
if (status.quote) status.quote = convertStatus(status.quote);
status.reactions = status.reactions.map(convertReaction); status.reactions = status.reactions.map(convertReaction);
return status; return status;