From bd084e606c98aad6870f60f1742b8e1cc25a78b9 Mon Sep 17 00:00:00 2001 From: Greyson Parrelli Date: Wed, 17 Dec 2025 15:35:41 -0500 Subject: [PATCH] Allow saving e164-only contacts to your contacts. --- .../java/org/thoughtcrime/securesms/recipients/Recipient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/recipients/Recipient.kt b/app/src/main/java/org/thoughtcrime/securesms/recipients/Recipient.kt index 53be1a4888..e228e6dabf 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/recipients/Recipient.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/recipients/Recipient.kt @@ -144,7 +144,7 @@ class Recipient( val e164: Optional = Optional.ofNullable(e164Value) /** Whether or not we should show this user's e164 in the interface. */ - val shouldShowE164: Boolean = e164Value.isNotNullOrBlank() && (isSystemContact || phoneNumberSharing == PhoneNumberSharingState.ENABLED) + val shouldShowE164: Boolean = e164Value.isNotNullOrBlank() && (isSystemContact || phoneNumberSharing == PhoneNumberSharingState.ENABLED || (aciValue == null && usernameValue == null)) /** The recipient's email, if present. Emails are only for legacy SMS contacts that were reached via email. */ val email: Optional = Optional.ofNullable(emailValue)