Skip to content

Commit

Permalink
Fix bug that had replies showing up as top level posts
Browse files Browse the repository at this point in the history
  • Loading branch information
rudyfraser committed Nov 24, 2024
1 parent b5acd42 commit 3490e17
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rsky-feedgen/src/apis/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -607,12 +607,11 @@ pub async fn queue_creation(
if new_post.created_at > new_post.indexed_at {
new_post.created_at = new_post.indexed_at.clone();
}
/* TEMP REMOVING THIS FEATURE AS IT'S CREATING SPAM
if let Some(reply) = post_record.reply {
root_author = reply.root.uri[5..37].into();
//root_author = reply.root.uri[5..37].into();
new_post.reply_parent = Some(reply.parent.uri);
new_post.reply_root = Some(reply.root.uri);
} */
}
if let Some(langs) = post_record.langs {
new_post.lang = Some(langs.join(","));
}
Expand Down

0 comments on commit 3490e17

Please sign in to comment.