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

Blocking a user completely wipes/breaks room list ordering

Open
#5,983 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue
Dominant language
Rust
Stars
2.3k
Forks
500
Avg merge
1d 16h
Merged PRs (30d)
106

Description

To reproduce (I'm using Element X):
1. Block a user
2. Observe that the room list is missing (almost) all latest events and that the ordering is a bit all over the place.

Unblocking said user doesn't fix the room list. The only thing that helps is clearing the cache which is quite disruptive

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

Reproduce the issue in Element X by blocking and then unblocking a user, and observe the room list events and ordering. Investigate why the list remains incomplete or misordered after unblocking; done means the latest events and correct ordering return without clearing the cache.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.