mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Makes MatrixClient Closeable outside of logout function.
This commit is contained in:
+2
@@ -60,6 +60,8 @@ class FakeMatrixClient(
|
||||
logoutFailure?.let { throw it }
|
||||
}
|
||||
|
||||
override fun close() = Unit
|
||||
|
||||
override suspend fun loadUserDisplayName(): Result<String> {
|
||||
return userDisplayName
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user