fixing sign in needing registration to be enabled
- caused by the sign in flow using the registration homeserver validation, fixed by posting the sign in mode event directly
This commit is contained in:
parent
dcc20bbfeb
commit
f42e6c0a3c
|
@ -0,0 +1 @@
|
||||||
|
Fixes sign in via other requiring homeserver registration to be enabled
|
|
@ -645,7 +645,7 @@ class OnboardingViewModel @AssistedInject constructor(
|
||||||
when (awaitState().onboardingFlow) {
|
when (awaitState().onboardingFlow) {
|
||||||
OnboardingFlow.SignIn -> {
|
OnboardingFlow.SignIn -> {
|
||||||
updateSignMode(SignMode.SignIn)
|
updateSignMode(SignMode.SignIn)
|
||||||
internalRegisterAction(RegisterAction.StartRegistration, ::emitFlowResultViewEvent)
|
_viewEvents.post(OnboardingViewEvents.OnSignModeSelected(SignMode.SignIn))
|
||||||
}
|
}
|
||||||
OnboardingFlow.SignUp -> {
|
OnboardingFlow.SignUp -> {
|
||||||
updateSignMode(SignMode.SignUp)
|
updateSignMode(SignMode.SignUp)
|
||||||
|
|
Loading…
Reference in New Issue