Move isElementCallAvailable fun to new SessionEnterpriseService, which implementations can get the current MatrixClient.
This commit is contained in:
parent
eb9204e31f
commit
432f1ce50a
15 changed files with 95 additions and 20 deletions
|
|
@ -678,6 +678,10 @@ class RustMatrixClient(
|
|||
}.getOrDefault(false)
|
||||
}
|
||||
|
||||
override suspend fun isLivekitRtcSupported(): Boolean = withContext(sessionDispatcher) {
|
||||
innerClient.isLivekitRtcSupported()
|
||||
}
|
||||
|
||||
private suspend fun File.getCacheSize(
|
||||
includeCryptoDb: Boolean = false,
|
||||
): Long = withContext(sessionDispatcher) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue