Skip to content

History sharing doesn't work if the key bundle message arrives after the join #30740

@richvdh

Description

@richvdh

With the history sharing feature enabled, when Alice invites Bob to a room, she will also send him a to-device message containing details of the encryption keys.

If that to-device message is sufficiently delayed that Bob accepts the invite before it arrives, he will never download the key bundle and will therefore see only UTDs.

matrix-org/matrix-rust-sdk#5322 fixed this for Element X, but we forgot Element Web.

Metadata

Metadata

Labels

A-E2EEO-OccasionalAffects or can be seen by some users regularly or most users rarelyO-UncommonMost users are unlikely to come across this or unexpected workflowS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions