Makes MatrixClient Closeable outside of logout function.
This commit is contained in:
parent
3a8ff32f0e
commit
cfefe89b3e
3 changed files with 7 additions and 4 deletions
|
|
@ -60,6 +60,8 @@ class FakeMatrixClient(
|
|||
logoutFailure?.let { throw it }
|
||||
}
|
||||
|
||||
override fun close() = Unit
|
||||
|
||||
override suspend fun loadUserDisplayName(): Result<String> {
|
||||
return userDisplayName
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue