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

Fetching an invited room through the RoomListService fails

Open
#3,848 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-Room-List
Dominant language
Rust
Stars
2.3k
Forks
500
Avg merge
1d 16h
Merged PRs (30d)
106

Description

Using the `RoomListService` to fetch a room by id, where that room is in the invited state has regresed and is now failing with
```
RoomListError
▿ InitializingTimeline : 1 element
- error : "The room\'s encryption state is unknown."
```

This was introduced in https://github.com/matrix-org/matrix-rust-sdk/commit/bae0f304f7efc3c6a34d2ca805eb2d4b27189ce9#diff-dff33932423bfedc588739ae79f87f64f063a52aada9483069fb11bc5487c3b7R161-R162

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.

Research direction

Start at the RoomListService entry point and inspect the change introduced by commit bae0f304f7efc3c6a34d2ca805eb2d4b27189ce9. Reproduce fetching a room by ID while it is invited, then trace why timeline initialization reports that the room's encryption state is unknown. Done means invited rooms can be fetched without the RoomListError.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.