matrix-org / matrix-org/matrix-rust-sdk
Fetching an invited room through the RoomListService fails
Nobody has claimed this yet.
- 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
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.
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