Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
videah committed Nov 1, 2023
2 parents 401021c + acf70f8 commit c58a45c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ Future<List<MastodonPost>> traverseReplies(
record: (record) async {
// Get the current depth post and add it to the list.
final currentPost = await MastodonPost.fromBlueSkyPost(record.data.post);
result.add(currentPost);
// Skip the first post.
if (depth > 0) result.add(currentPost);

// We don't want to traverse too deep, 6 is just a number I pulled out
// of thin air. Need to look into how deep Bluesky goes.
Expand Down

0 comments on commit c58a45c

Please sign in to comment.