mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-25 05:29:07 +01: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.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 New Issue
Block a user