Skip to content

fix: reject future-dated notes from all feeds#128

Merged
barrydeen merged 1 commit intomainfrom
fix/reject-future-dated-notes
Mar 2, 2026
Merged

fix: reject future-dated notes from all feeds#128
barrydeen merged 1 commit intomainfrom
fix/reject-future-dated-notes

Conversation

@barrydeen
Copy link
Copy Markdown
Owner

Summary

  • Drop events with created_at timestamps ahead of the current time in addEvent() and addRelayFeedEvent(), preventing future-dated notes from appearing in follows, extended, and relay feeds

Test plan

  • Verify normal notes still appear in all three feeds (follows, extended, relay)
  • Confirm notes with future timestamps are silently dropped and do not appear in any feed

Drop events with created_at timestamps ahead of the current time
in both addEvent() and addRelayFeedEvent(), preventing future-dated
notes from appearing in follows, extended, and relay feeds.
@barrydeen barrydeen merged commit 5fb4617 into main Mar 2, 2026
@barrydeen barrydeen deleted the fix/reject-future-dated-notes branch March 4, 2026 01:29
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