review: consistency use isAudioCall everywhere (instead of voiceOnly)

This commit is contained in:
Valere 2026-03-06 12:19:05 +01:00
parent 4406b50542
commit bad6085fb2
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?