pl-api: fix masto quotes

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2025-10-15 14:51:06 +02:00
parent 5bc3ef409e
commit e0b31a663a
3 changed files with 7 additions and 7 deletions

View File

@ -87,7 +87,7 @@ const importEntities = (entities: {
processAccount(status.account);
}
if (status.quote && 'status' in status.quote && status.quote.status) processStatus(status.quote.status);
if (status.quote && 'quoted_status' in status.quote && status.quote.quoted_status) processStatus(status.quote.quoted_status);
if (status.reblog) processStatus(status.reblog);
if (status.poll) polls[status.poll.id] = status.poll;
if (status.group) groups[status.group.id] = status.group;