-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
A-E2EEA-Element-RIssues affecting the port of Element's crypto layer to RustIssues affecting the port of Element's crypto layer to RustO-OccasionalAffects or can be seen by some users regularly or most users rarelyAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-DefectX-RegressionZ-UISIUnable to decrypt errorsUnable to decrypt errors
Description
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 RustIssues affecting the port of Element's crypto layer to RustO-OccasionalAffects or can be seen by some users regularly or most users rarelyAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-DefectX-RegressionZ-UISIUnable to decrypt errorsUnable to decrypt errors