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

Sliding sync doesn't seem to correctly initialize new rooms in some cases

Open
#5,290 0 comments 0 reactions 1 assignee View on GitHub

@Hywan is already working on this.

Since Jun 30, 2025.

sliding-sync
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.