review: consistency use isAudioCall everywhere (instead of voiceOnly)

This commit is contained in:
Valere
2026-03-06 12:19:05 +01:00
parent 283756db70
commit ea12fe436b
12 changed files with 19 additions and 19 deletions

View File

@@ -226,7 +226,7 @@ class CallScreenPresenter(
sessionId = inputs.sessionId,
roomId = inputs.roomId,
clientId = UUID.randomUUID().toString(),
voiceOnly = inputs.isAudioCall,
isAudioCall = inputs.isAudioCall,
languageTag = languageTag,
theme = theme,
).getOrThrow()

View File

@@ -16,7 +16,7 @@ interface CallWidgetProvider {
suspend fun getWidget(
sessionId: SessionId,
roomId: RoomId,
voiceOnly: Boolean,
isAudioCall: Boolean,
clientId: String,
languageTag: String?,
theme: String?,

View File

@@ -32,7 +32,7 @@ class DefaultCallWidgetProvider(
override suspend fun getWidget(
sessionId: SessionId,
roomId: RoomId,
voiceOnly: Boolean,
isAudioCall: Boolean,
clientId: String,
languageTag: String?,
theme: String?,
@@ -51,7 +51,7 @@ class DefaultCallWidgetProvider(
baseUrl = baseUrl,
encrypted = isEncrypted,
direct = room.isDm(),
voiceOnly = voiceOnly,
isAudioCall = isAudioCall,
hasActiveCall = roomInfo.hasRoomCall,
)
val callUrl = room.generateWidgetWebViewUrl(

View File

@@ -23,7 +23,7 @@ class FakeCallWidgetProvider(
override suspend fun getWidget(
sessionId: SessionId,
roomId: RoomId,
voiceOnly: Boolean,
isAudioCall: Boolean,
clientId: String,
languageTag: String?,
theme: String?