matrix-org / matrix-org/matrix-js-sdk
Ignoring users working not properly
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.2k
- Forks
- 704
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 40
Description
Hello, I'm trying to implement an ignore function and ran into a bit of a problem
how to reproduce:
User A starts ignoring User B
User B sends several messages to User A
User A does not receive any messages from User B
then user A will unignore user B
User A received several messages sent by User B while User B was being ignored
sometimes I can get the last message, sometimes all messages, It depends on how quickly I unignore after the ignored user has sent a message
matrix js sdk version: "matrix-js-sdk": "^28.0.0"
Also attached 2 screens made in Element app


expected result: According to the documentation, the user should not receive any messages sent by him while ignoring the user
any thoughts on how to fix this?
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 by reproducing the ignore, message-send, and unignore sequence described against matrix-js-sdk version 28, then trace the SDK's handling of ignored users and later timeline updates. Done means messages sent while a user is ignored remain unavailable after unignoring, consistently across the reported timing variations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100