Use correct type (it's a type alias)
This commit is contained in:
parent
da4b49ce17
commit
80fdd5f127
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ class RustMatrixAuthenticationService @Inject constructor(
|
||||||
}
|
}
|
||||||
|
|
||||||
override suspend fun getLatestSessionId(): SessionId? = withContext(coroutineDispatchers.io) {
|
override suspend fun getLatestSessionId(): SessionId? = withContext(coroutineDispatchers.io) {
|
||||||
sessionStore.getLatestSession()?.userId?.let { UserId(it) }
|
sessionStore.getLatestSession()?.userId?.let { SessionId(it) }
|
||||||
}
|
}
|
||||||
|
|
||||||
override suspend fun restoreSession(sessionId: SessionId): Result<MatrixClient> = withContext(coroutineDispatchers.io) {
|
override suspend fun restoreSession(sessionId: SessionId): Result<MatrixClient> = withContext(coroutineDispatchers.io) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue