Skip to content

fix: fetch last 100 messages instead of using since timestamps for group chats#419

Merged
barrydeen merged 1 commit intomainfrom
fix/group-chat-fetch-last-100
Apr 2, 2026
Merged

fix: fetch last 100 messages instead of using since timestamps for group chats#419
barrydeen merged 1 commit intomainfrom
fix/group-chat-fetch-last-100

Conversation

@barrydeen
Copy link
Copy Markdown
Owner

Summary

  • Removes since timestamp filtering when subscribing to group chat rooms
  • Always fetches the last 100 messages, 500 reactions, and 200 zaps fresh from the relay
  • Fixes visibility bugs caused by clock skew and stale persisted timestamps

Test plan

  • Open a group chat room and verify the last 100 messages load correctly
  • Leave and re-enter a chat room — messages should still load fully
  • Verify reactions and zaps appear on messages

…oup chats

The since-based filtering was causing visibility bugs for users due to
clock skew and stale timestamps. Always fetch the last 100 messages,
500 reactions, and 200 zaps fresh from the relay when opening a chat room.
@barrydeen barrydeen merged commit d65d74c into main Apr 2, 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