Ensure that sessionVerifiedStatus is updated when the crypto is ready.

If we do not do that the FTUE state stays on WaitingForInitialState and user is stuck on a blank screen.
This commit is contained in:
Benoit Marty
2026-08-28 18:34:27 +02:00
parent c47446bfb9
commit 8b03e4d41a
@@ -266,6 +266,9 @@ class RustSessionVerificationService(
if (!isInitialized.get()) {
encryptionService.waitForE2eeInitializationTasks()
isInitialized.set(true)
// Also update the state, because update may have been ignored by VerificationStateListener.onUpdate
// If we do not do that the FTUE is stuck on blank screen.
updateVerificationStatus()
}
if (!this::verificationController.isInitialized) {