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

`DeviceUpdates` structs are empty when the update is triggered by a device disconnection

Open
#4,720 0 comments 0 reactions 0 assignees View on GitHub

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.