Move isElementCallAvailable fun to new SessionEnterpriseService, which implementations can get the current MatrixClient.

This commit is contained in:
Benoit Marty
2025-06-11 14:34:33 +02:00
parent bfd684cd53
commit 25ba79a681
15 changed files with 95 additions and 20 deletions
@@ -164,6 +164,11 @@ interface MatrixClient {
* Check if the user can report a room.
*/
suspend fun canReportRoom(): Boolean
/**
* Return true if Livekit Rtc is supported, i.e. if Element Call is available.
*/
suspend fun isLivekitRtcSupported(): Boolean
}
/**