This commit is contained in:
valere 2023-05-10 14:28:56 +02:00
parent 36b1e9b5e4
commit 8d58799134
2 changed files with 4 additions and 0 deletions

1
changelog.d/8418.bugfix Normal file
View file

@ -0,0 +1 @@
RustCrypto: Verification UX not refreshed after scanning a QR code

View file

@ -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
}