matrix-org / matrix-org/matrix-rust-sdk
Sliding sync doesn't seem to correctly initialize new rooms in some cases
@Hywan is already working on this.
Since Jun 30, 2025.
- Dominant language
- Rust
- Stars
- 2.3k
- Forks
- 500
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 106
Description
Observed in some rageshake: Cannot post process a room in sliding sync because it is missing, which corresponds to this function. This is weird, because all the joined room responses should've lead to the creation of a room in the store, so it looks like we're losing track of some rooms, somehow.
The corresponding line shows that the room only got read receipt updates, so I suspect that if a room is mentioned in the receipts subsection of the response, but not in the rooms section, then it's not correctly set up (the Room and RoomInfo are not getting created). I wonder why it wouldn't be in the rooms section in the first place; maybe it's outside the range of the sliding sync room list? Something to investigate a bit more.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.