Element-R: withheld messages are no longer shown as such #27653
Labels
A-E2EE
A-Element-R
Issues affecting the port of Element's crypto layer to Rust
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Minor
Impairs non-critical functionality or suitable workarounds exist
T-Defect
X-Regression
Z-UISI
Unable to decrypt errors
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 ofm.unverified
orm.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".
The text was updated successfully, but these errors were encountered: