diff --git a/changelog.d/8418.bugfix b/changelog.d/8418.bugfix new file mode 100644 index 0000000000..9b5a2e2fa4 --- /dev/null +++ b/changelog.d/8418.bugfix @@ -0,0 +1 @@ +RustCrypto: Verification UX not refreshed after scanning a QR code diff --git a/matrix-sdk-android/src/rustCrypto/java/org/matrix/android/sdk/internal/crypto/verification/RustVerificationService.kt b/matrix-sdk-android/src/rustCrypto/java/org/matrix/android/sdk/internal/crypto/verification/RustVerificationService.kt index 6afe25e4fb..8cb6618a18 100644 --- a/matrix-sdk-android/src/rustCrypto/java/org/matrix/android/sdk/internal/crypto/verification/RustVerificationService.kt +++ b/matrix-sdk-android/src/rustCrypto/java/org/matrix/android/sdk/internal/crypto/verification/RustVerificationService.kt @@ -342,6 +342,9 @@ internal class RustVerificationService @Inject constructor( val qrVerification = matchingRequest.scanQrCode(scannedData) ?: return null verificationListenersHolder.dispatchTxAdded(qrVerification) + // we need to update the request as the state mapping depends on the + // sas or qr beeing started + verificationListenersHolder.dispatchRequestUpdated(matchingRequest) return qrVerification.transactionId }