mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-09-19 16:24:41 +01:00
Always use ACI_ONLY cert for numberless accounts.
This commit is contained in:
@@ -173,7 +173,9 @@ public class SealedSenderAccessUtil {
|
||||
}
|
||||
|
||||
private static @NonNull CertificateType getUnidentifiedAccessCertificateType() {
|
||||
if (SignalStore.phoneNumberPrivacy().isPhoneNumberSharingEnabled()) {
|
||||
if (SignalStore.account().isPhoneNumberless()) {
|
||||
return CertificateType.ACI_ONLY;
|
||||
} else if (SignalStore.phoneNumberPrivacy().isPhoneNumberSharingEnabled()) {
|
||||
return CertificateType.ACI_AND_E164;
|
||||
} else {
|
||||
return CertificateType.ACI_ONLY;
|
||||
|
||||
Reference in New Issue
Block a user