From 73a027f10b7d0ebe92ace786a93caddb0bf1ebb9 Mon Sep 17 00:00:00 2001 From: Alex Hart Date: Thu, 10 Oct 2024 16:21:59 -0300 Subject: [PATCH] Always display call link warning. --- .../securesms/components/webrtc/WebRtcCallView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/components/webrtc/WebRtcCallView.java b/app/src/main/java/org/thoughtcrime/securesms/components/webrtc/WebRtcCallView.java index 08e068a769..038d0b8ae0 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/components/webrtc/WebRtcCallView.java +++ b/app/src/main/java/org/thoughtcrime/securesms/components/webrtc/WebRtcCallView.java @@ -491,7 +491,7 @@ public class WebRtcCallView extends InsetAwareConstraintLayout { if (state.getGroupCallState().isNotIdle()) { if (state.getCallState() == WebRtcViewModel.State.CALL_PRE_JOIN) { - if (callParticipantsViewState.isStartedFromCallLink()) { + if (state.isCallLink()) { TextView warningTextView = callLinkWarningCard.get().findViewById(R.id.call_screen_call_link_warning_textview); warningTextView.setText(SignalStore.phoneNumberPrivacy().isPhoneNumberSharingEnabled() ? R.string.WebRtcCallView__anyone_who_joins_pnp_enabled : R.string.WebRtcCallView__anyone_who_joins_pnp_disabled); callLinkWarningCard.setVisibility(View.VISIBLE);