mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp.git
synced 2024-06-30 22:59:00 +02:00
Mastodon API: convert quoted status
This commit is contained in:
parent
d072f014b1
commit
aa76cf1c33
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue