Skip to content

Element-R: withheld messages are no longer shown as such #27653

@richvdh

Description

@richvdh

If the sender chooses to only send e2e messages to verified devices, then unverified devices will receive a notification of a withheld key. (Specifically, a to-device message of type m.room_key.withheld with a code of m.unverified or m.blacklisted.)

We should reflect these notifications in the UI, rather than just showing a generic "Unable to decrypt message" error. (This used to work with legacy crypto, but has not been re-implemented for Rust Crypto).

We should also give them a different error code in the Posthog analytics, so that they can be treated as "expected UTDs".

Metadata

Metadata

Assignees

Labels

A-E2EEA-Element-RIssues affecting the port of Element's crypto layer to RustO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-DefectX-RegressionZ-UISIUnable to decrypt errors

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions