matrix-org / matrix-org/matrix-rust-sdk

bug(timeline): Read receipts for a user can appear before they've joined a room

Open
#6,491 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2.3k
Forks
500
Avg merge
1d 16h
Merged PRs (30d)
106

Description

## STR

- create a timeline that tracks read receipts on message-like events
- send a message "hello world" in a room
- invite user A in the room
- user A joins the room

## expected

- user A's read receipt should be on their join state event, or there should be none

## observed

- user A's read receipt is on the "hello world" message that preceded their joining

Contributor guide

Open the contributing guide

Research direction

Reproduce the timeline scenario with a prior message, an invitation, and the user's join event, then inspect the read-receipt handling and timeline entry points. Done means the user's receipt is attached to their join state event or is absent, rather than appearing on the earlier message.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.