Instantiate the now suspending innerClient.spaceService() RustMatrixClient with runBlocking for now
This commit is contained in:
parent
a8ffe46d99
commit
0440f760ed
2 changed files with 4 additions and 2 deletions
|
|
@ -151,7 +151,9 @@ class RustMatrixClient(
|
|||
private val sessionDispatcher = dispatchers.io.limitedParallelism(64)
|
||||
|
||||
private val innerRoomListService = innerSyncService.roomListService()
|
||||
private val innerSpaceService = innerClient.spaceService()
|
||||
|
||||
// TODO refactor this and `innerNotificationClient` to be behind a suspend function instead
|
||||
private val innerSpaceService = runBlocking { innerClient.spaceService() }
|
||||
|
||||
override val roomMembershipObserver = RoomMembershipObserver()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue