Let MatrixClient exposes val instead of fun for the services.
This commit is contained in:
committed by
Benoit Marty
parent
1ac524fc08
commit
67c6a1bd5f
@@ -242,7 +242,7 @@ class CallScreenPresenter(
|
||||
}
|
||||
coroutineScope.launch {
|
||||
Timber.d("Observing sync state in-call for sessionId: ${roomCallType.sessionId}")
|
||||
client.syncService().syncState
|
||||
client.syncService.syncState
|
||||
.collect { state ->
|
||||
if (state != SyncState.Running) {
|
||||
appForegroundStateService.updateIsInCallState(true)
|
||||
|
||||
Reference in New Issue
Block a user