mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 05:17:39 -07:00
Mastodon API: convert quoted status
This commit is contained in:
parent
d072f014b1
commit
aa76cf1c33
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue