Skip to content

Commit

Permalink
fix: parse threads properly
Browse files Browse the repository at this point in the history
was using wrong key, not sure how this was passing before, maybe we should do `content || itemContent` instead?
  • Loading branch information
catdevnull authored and karashiiro committed Apr 7, 2024
1 parent 6ec2c93 commit fb8d07e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/timeline-v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ export function parseThreadedConversation(
}

for (const item of entry.content?.items ?? []) {
const itemContent = item.item?.content;
const itemContent = item.item?.itemContent;
if (itemContent) {
parseAndPush(tweets, itemContent, entry.entryId, true);
}
Expand Down

0 comments on commit fb8d07e

Please sign in to comment.