mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 02:15:35 +03:00
avoiding resetting pending state when starting a new login flow
- fixes selecting a incorrect homeserver and returning to the previous login page also failing
This commit is contained in:
parent
033b877269
commit
b0c294b41b
1 changed files with 0 additions and 4 deletions
|
@ -136,10 +136,6 @@ internal class DefaultAuthenticationService @Inject constructor(
|
|||
* valid homeserver API url, the url of Element Web, or anything else.
|
||||
*/
|
||||
override suspend fun getLoginFlow(homeServerConnectionConfig: HomeServerConnectionConfig): LoginFlowResult {
|
||||
pendingSessionData = null
|
||||
|
||||
pendingSessionStore.delete()
|
||||
|
||||
val result = runCatching {
|
||||
getLoginFlowInternal(homeServerConnectionConfig)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue