element-x-ada/features/login
Jorge Martin Espinosa 4f1fd33b47
Fix unverified account after account creation (#5914)
* Fix unverified account after account creation:

When we create an account either using OIDC or by importing a login and password one, we need to wait until the verification state is known (either verified or unverified).

The problem is the verification service will return incorrect values until the E2EE tasks are initialized in the SDK, even if we add the state listeners after doing so.

So what we can do is initialize the E2EE setup, discard any invalid verification state received while it's not initialized, and take only those received after it's initialized.

* Actually restore the `Client` in `RustMatrixAuthenticationService.importCreatedSession` so we don't need to use `clear` and have the navigation restore the client later:

This standarizes the way the login/registration flow works, always restoring/reusing the existing client instance
2025-12-19 12:55:34 +01:00
..
api Fix crash when clicking fast on back key on the Add account screen. 2025-11-21 15:51:11 +01:00
impl Fix unverified account after account creation (#5914) 2025-12-19 12:55:34 +01:00
test Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00