Skip to content

Commit

Permalink
Merge branch 'develop' into allow_http_call_when_checking_crl
Browse files Browse the repository at this point in the history
  • Loading branch information
mchenani authored Feb 14, 2024
2 parents bfab931 + 15bc6f3 commit cf663b9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import com.wire.kalium.logic.data.id.QualifiedID
data class UICallParticipant(
val id: QualifiedID,
val clientId: String,
val name: String = "",
val name: String? = null,
val isMuted: Boolean,
val isSpeaking: Boolean = false,
val isCameraOn: Boolean,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ fun ParticipantTile(
onSelfUserVideoPreviewCreated: (view: View) -> Unit,
onClearSelfUserVideoPreview: () -> Unit
) {
val defaultUserName = stringResource(id = R.string.calling_participant_tile_default_user_name)
val alpha =
if (participantTitleState.hasEstablishedAudio) ContentAlpha.high else ContentAlpha.medium
Surface(
Expand Down Expand Up @@ -154,7 +155,7 @@ fun ParticipantTile(
end.linkTo((parent.end))
}
.widthIn(max = onGoingCallTileUsernameMaxWidth),
name = participantTitleState.name,
name = participantTitleState.name ?: defaultUserName,
isSpeaking = participantTitleState.isSpeaking,
hasEstablishedAudio = participantTitleState.hasEstablishedAudio
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ fun MessageItem(
},
onLongClick = remember(message) {
{
if (!isContentClickable) {
if (!isContentClickable && !message.isDeleted) {
onLongClicked(message)
}
}
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,7 @@
<string name="calling_confirm_start_call_title_dialog">Start a call</string>
<string name="calling_confirm_start_call_description_dialog">Are you sure you want to call %1$s people?</string>
<string name="calling_confirm_start_call_action_dialog">Call</string>
<string name="calling_participant_tile_default_user_name">Default</string>
<!-- Connectivity Status Bar -->
<string name="connectivity_status_bar_return_to_call">Return to call</string>
<string name="connectivity_status_bar_connecting">Decrypting messages</string>
Expand Down
2 changes: 1 addition & 1 deletion kalium
Submodule kalium updated 19 files
+30 βˆ’37 .github/workflows/gradle-android-instrumented-tests.yml
+57 βˆ’0 README.md
+6 βˆ’0 build.gradle.kts
+56 βˆ’6 cryptography/src/commonMain/kotlin/com/wire/kalium/cryptography/MLSClient.kt
+2 βˆ’0 gradle/libs.versions.toml
+6 βˆ’3 logic/src/commonJvmAndroid/kotlin/com/wire/kalium/logic/feature/call/scenario/OnParticipantListChanged.kt
+1 βˆ’1 logic/src/commonMain/kotlin/com/wire/kalium/logic/data/call/Participant.kt
+1 βˆ’1 logic/src/commonMain/kotlin/com/wire/kalium/logic/data/call/ParticipantsOrderByName.kt
+33 βˆ’4 logic/src/commonMain/kotlin/com/wire/kalium/logic/data/conversation/MLSConversationRepository.kt
+7 βˆ’5 logic/src/commonMain/kotlin/com/wire/kalium/logic/data/user/UserRepository.kt
+25 βˆ’8 logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/UserSessionScope.kt
+5 βˆ’2 logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/conversation/ConversationScope.kt
+27 βˆ’20 logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/conversation/CreateGroupConversationUseCase.kt
+2 βˆ’3 logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/user/UserScope.kt
+17 βˆ’2 logic/src/commonMain/kotlin/com/wire/kalium/logic/sync/receiver/conversation/MLSWelcomeEventHandler.kt
+174 βˆ’23 logic/src/commonTest/kotlin/com/wire/kalium/logic/data/conversation/MLSConversationRepositoryTest.kt
+41 βˆ’10 logic/src/commonTest/kotlin/com/wire/kalium/logic/data/user/UserRepositoryTest.kt
+10 βˆ’1 logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/conversation/CreateGroupConversationUseCaseTest.kt
+59 βˆ’12 logic/src/commonTest/kotlin/com/wire/kalium/logic/sync/receiver/conversation/MLSWelcomeEventHandlerTest.kt

0 comments on commit cf663b9

Please sign in to comment.