Let MatrixClient exposes val instead of fun for the services.
This commit is contained in:
parent
68700d9bf9
commit
77647a3f11
27 changed files with 129 additions and 155 deletions
|
|
@ -82,7 +82,7 @@ class CreateAccountPresenter(
|
|||
tryOrNull {
|
||||
// Wait until the session is verified
|
||||
val client = clientProvider.getOrRestore(sessionId).getOrThrow()
|
||||
val sessionVerificationService = client.sessionVerificationService()
|
||||
val sessionVerificationService = client.sessionVerificationService
|
||||
withTimeout(10.seconds) { sessionVerificationService.sessionVerifiedStatus.first { it.isVerified() } }
|
||||
}
|
||||
loggedInState.value = AsyncAction.Success(sessionId)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue