matrix-org / matrix-org/matrix-rust-sdk
`DeviceUpdates` structs are empty when the update is triggered by a device disconnection
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.3k
- Forks
- 500
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 106
Description
When a device disconnects from an account, other sessions receive a DeviceUpdates struct that is empty.
It would be nice if this struct could have a specific field for "removed" devices or something equivalent.
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 with the linked DeviceUpdates API documentation and trace how device-disconnection updates are constructed and delivered to other sessions. Define an explicit representation for removed devices or an equivalent signal, then update the relevant tests so disconnection updates are no longer empty.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend-api-design, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100