mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Do not show add to contacts if there's no e164.
This commit is contained in:
@@ -130,7 +130,7 @@ internal object ConversationOptionsMenu {
|
||||
|
||||
if (recipient.isMuted) menuInflater.inflate(R.menu.conversation_muted, menu) else menuInflater.inflate(R.menu.conversation_unmuted, menu)
|
||||
|
||||
if (!recipient.isGroup && (recipient.contactUri == null) && !recipient.isReleaseNotes && !recipient.isSelf && recipient.hasE164()) {
|
||||
if (!recipient.isGroup && recipient.contactUri == null && !recipient.isReleaseNotes && !recipient.isSelf && recipient.hasE164() && recipient.shouldShowE164()) {
|
||||
menuInflater.inflate(R.menu.conversation_add_to_contacts, menu)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user