matrix-org / matrix-org/matrix-bifrost
Messages getting lost if Matrix user has left the DM room
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 187
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
To reproduce:
Send a message from purple to matrix
Get invited to DM room
Leave DM room
Send a message from purple to matrix again
Messages get delivered to existing room even though the target user is already there
The user should either get reinvited if they're not there, or the room removed from Bifrost and DB altogether when the (only) matrix user leaves.
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 tracing how Bifrost handles existing DM rooms and persists their Matrix membership in the database, using the reproduction steps in this issue. Done means a message after the Matrix user leaves either reinvites them or removes the room from Bifrost and the database, rather than delivering to the abandoned room.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend, database
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100