Skip to content

fix: only bump feed sort time for reposts from followed authors#206

Merged
barrydeen merged 1 commit intomainfrom
fix/repost-feed-bump
Mar 10, 2026
Merged

fix: only bump feed sort time for reposts from followed authors#206
barrydeen merged 1 commit intomainfrom
fix/repost-feed-bump

Conversation

@barrydeen
Copy link
Copy Markdown
Owner

Summary

  • Engagement subscriptions fetch reposts (kind 6) from anyone referencing events in the feed, not just followed authors
  • Previously any repost would bump the original note to the top of the feed using the repost timestamp, even from non-followed users
  • Now only reposts from authors in the current author filter (followed users) affect feed sort ordering; non-followed reposters still update repost counts

Test plan

  • Follow user A who posted a note, verify their note appears in feed at normal position
  • Have a followed user repost the note — verify it bumps to the top of the feed
  • Have a non-followed user repost the same note — verify it does NOT bump to the top, but repost count increments

Engagement subscriptions fetch reposts from anyone referencing events
in the feed. Previously, any repost would bump the original note to
the top of the feed using the repost timestamp — even from non-followed
users. Now only reposts from followed authors (in the author filter)
affect feed ordering. Non-followed reposters still update repost counts.
@barrydeen barrydeen merged commit 7231aec into main Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant