diff --git a/changelog.d/5874.bugfix b/changelog.d/5874.bugfix new file mode 100644 index 0000000000..a0f700bed5 --- /dev/null +++ b/changelog.d/5874.bugfix @@ -0,0 +1 @@ +Fixes sign in via other requiring homeserver registration to be enabled 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 82835849c0..25ae0327a8 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 @@ -645,7 +645,7 @@ class OnboardingViewModel @AssistedInject constructor( when (awaitState().onboardingFlow) { OnboardingFlow.SignIn -> { updateSignMode(SignMode.SignIn) - internalRegisterAction(RegisterAction.StartRegistration, ::emitFlowResultViewEvent) + _viewEvents.post(OnboardingViewEvents.OnSignModeSelected(SignMode.SignIn)) } OnboardingFlow.SignUp -> { updateSignMode(SignMode.SignUp)