Use correct type (it's a type alias)
This commit is contained in:
committed by
Benoit Marty
parent
da4b49ce17
commit
80fdd5f127
@@ -59,7 +59,7 @@ class RustMatrixAuthenticationService @Inject constructor(
|
||||
}
|
||||
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user