mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Do not block CDS if PIN creation failed.
This commit is contained in:
@@ -57,9 +57,13 @@ object ContactDiscovery {
|
||||
}
|
||||
|
||||
if (!SignalStore.registrationValues().isRegistrationComplete) {
|
||||
Log.w(TAG, "Registration is not yet complete. Skipping, but running a routine to possibly mark it complete.")
|
||||
RegistrationUtil.maybeMarkRegistrationComplete()
|
||||
return
|
||||
if (SignalStore.account().isRegistered && SignalStore.svr().lastPinCreateFailed()) {
|
||||
Log.w(TAG, "Registration isn't complete, but only because PIN creation failed. Allowing CDS to continue.")
|
||||
} else {
|
||||
Log.w(TAG, "Registration is not yet complete. Skipping, but running a routine to possibly mark it complete.")
|
||||
RegistrationUtil.maybeMarkRegistrationComplete()
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
refreshRecipients(
|
||||
|
||||
Reference in New Issue
Block a user