Open richvdh opened 3 weeks ago
Implementation notes:
UserIdentities
to expose identity_needs_user_approval
UserIdentity
and OwnUserIdentity
to expose identity_needs_user_approval
UserIdentity
by https://github.com/matrix-org/matrix-rust-sdk-crypto-wasm/pull/141. Don't think it's needed for OwnUserIdentity
.RustCrypto.getUserVerificationStatus
and UserVerificationStatus
to include identityNeedsUserApproval
Room.getEncryptionTargetMembers
to get a list of users of interest, and then call getUserVerificationStatus on each, to build a list of users with pin violationsIt would be great if we can re-use the logic I am writing here https://github.com/matrix-org/matrix-rust-sdk/compare/main...andybalaam/room-identity-stream .
The core logic is inside the crypto crate, so there is some chance we can re-use it.
Followup to https://github.com/element-hq/element-meta/issues/2492. Part of https://github.com/element-hq/element-meta/issues/2491, itself part of Invisible crypto.
When an unverified user changes their identity, we need to make our user aware of this. In the long term, the intention is just to show a notice in the timeline (#2493); however, that is difficult to implement and we need a stop-gap.
This task is for Element Web.
The proposal is to show a warning above the composer, in much the same way as we would for verified users (#2491), but without locking the composer.
Figma designs: