Skip to content

Commit

Permalink
Merge pull request #8419 from vector-im/feature/bca/fix_qr_verif_refresh
Browse files Browse the repository at this point in the history
Fix 8418
  • Loading branch information
BillCarsonFr committed May 11, 2023
2 parents b2cde3f + 8d58799 commit 215c503
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/8418.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
RustCrypto: Verification UX not refreshed after scanning a QR code
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 215c503

Please sign in to comment.