mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:01:40 +00:00
Move isElementCallAvailable fun to new SessionEnterpriseService, which implementations can get the current MatrixClient.
This commit is contained in:
+4
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user