mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-29 13:16:01 +01:00
Interpret unknown phone number sharing setting as 'off'.
This commit is contained in:
committed by
Cody Henthorne
parent
c359ddf3c8
commit
879fca0e11
@@ -691,7 +691,7 @@ public class Recipient {
|
||||
* Whether or not we should show this user's e164 in the interface.
|
||||
*/
|
||||
public boolean shouldShowE164() {
|
||||
return hasE164() && (isSystemContact() || getPhoneNumberSharing() != PhoneNumberSharingState.DISABLED);
|
||||
return hasE164() && (isSystemContact() || getPhoneNumberSharing() == PhoneNumberSharingState.ENABLED);
|
||||
}
|
||||
|
||||
public @NonNull Optional<String> getEmail() {
|
||||
|
||||
Reference in New Issue
Block a user