Avoid restoring several MatrixClient
This commit is contained in:
parent
7b5e7c4c00
commit
a8cd659b1f
5 changed files with 32 additions and 37 deletions
|
|
@ -31,6 +31,7 @@ interface MatrixAuthenticationService {
|
|||
/**
|
||||
* Restore a session from a [sessionId].
|
||||
* Do not restore anything it the access token is not valid anymore.
|
||||
* Generally this method should not be used directly, prefer using [MatrixClientProvider.getOrRestore] instead.
|
||||
*/
|
||||
suspend fun restoreSession(sessionId: SessionId): Result<MatrixClient>
|
||||
fun getHomeserverDetails(): StateFlow<MatrixHomeServerDetails?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue