mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-25 02:45:53 +03:00
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
2 changed files with 2 additions and 1 deletions
1
changelog.d/5874.bugfix
Normal file
1
changelog.d/5874.bugfix
Normal file
|
@ -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) {
|
||||
OnboardingFlow.SignIn -> {
|
||||
updateSignMode(SignMode.SignIn)
|
||||
internalRegisterAction(RegisterAction.StartRegistration, ::emitFlowResultViewEvent)
|
||||
_viewEvents.post(OnboardingViewEvents.OnSignModeSelected(SignMode.SignIn))
|
||||
}
|
||||
OnboardingFlow.SignUp -> {
|
||||
updateSignMode(SignMode.SignUp)
|
||||
|
|
Loading…
Reference in a new issue