Fix device verification UX: show request card, enable cross-user SAS

- RenderMessageContent: add case for m.key.verification.request msgtype
  so it renders an informational card instead of "Unsupported message"
- MsgTypeRenderers/FallbackContent: add VerificationRequestContent and
  MessageVerificationRequestContent components (lock icon + instructional text)
- DeviceVerification: remove isSelfVerification guard from
  ReceiveSelfDeviceVerification so cross-user verification requests also
  trigger the SAS emoji dialog (was silently dropped before)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jaredandClaude Sonnet 4.6 committed 2026-05-23 11:15:49 -04:00
1 parent 37e68e906b
commit 8740752aec
4 files changed
+23 -4

No files matched your search

@@ -316,9 +316,5 @@ export function ReceiveSelfDeviceVerification() {
if (!request) return null;
if (!request.isSelfVerification) {
return null;
}
return <DeviceVerification request={request} onExit={handleExit} />;
}