mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 10:32:34 +00:00
Use correct type (it's a type alias)
This commit is contained in:
committed by
Benoit Marty
parent
3e58370356
commit
2135d75712
+1
-1
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user