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);