From 4ef0bc9052480fe1cc0db580b918ad6fda3989d1 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Thu, 24 Mar 2022 10:19:53 +0000 Subject: [PATCH] fixing wrong account created flag when creating a session from a direct login --- .../im/vector/app/features/onboarding/OnboardingViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vector/src/main/java/im/vector/app/features/onboarding/OnboardingViewModel.kt b/vector/src/main/java/im/vector/app/features/onboarding/OnboardingViewModel.kt index 6659058b4e..64fa3f0eee 100644 --- a/vector/src/main/java/im/vector/app/features/onboarding/OnboardingViewModel.kt +++ b/vector/src/main/java/im/vector/app/features/onboarding/OnboardingViewModel.kt @@ -578,7 +578,7 @@ class OnboardingViewModel @AssistedInject constructor( onDirectLoginError(failure) return } - onSessionCreated(data, isAccountCreated = true) + onSessionCreated(data, isAccountCreated = false) } private fun onDirectLoginError(failure: Throwable) {