Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

When a remote user leaves the last room shared with the local homeserver, their cached device list is not invalidated #13651

Open
@squahtx

Description

@squahtx

and /keys/query continues to return stale information, even after the remote user rejoins the room.

  1. Have a room with one local user, @alice:local and one remote user, @bob:remote.
  2. Have @alice:local do a /keys/query request to cache @bob:remote's device list.
  3. Have @bob:remote leave the room.
  4. @alice:local observes @bob:remote in the device_lists.left section of /sync.
  5. (bad) If @bob:remote then updates their device list and @alice:local does a /keys/query request, a stale response is returned.
  6. @bob:remote rejoins the room.
  7. @alice:local observes @bob:remote in the device_lists.changed section of /sync.
  8. (very bad) If @alice:local does a /keys/query request, a stale response is still returned.

Metadata

Metadata

Assignees

Labels

A-Device-List-TrackingTelling clients about other devices. Often related to E2EE.O-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MajorMajor functionality / product severely impaired, no satisfactory workaround.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions