mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 09:49:30 +01:00
Support accounts without pins in AEP restore flows.
This commit is contained in:
@@ -45,7 +45,7 @@ class PinsForAllSchedule implements MegaphoneSchedule {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (SignalStore.svr().hasOptedInWithAccess()) {
|
||||
if (SignalStore.svr().hasPin()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -62,6 +62,6 @@ class PinsForAllSchedule implements MegaphoneSchedule {
|
||||
|
||||
private static boolean pinCreationFailedDuringRegistration() {
|
||||
return SignalStore.registration().pinWasRequiredAtRegistration() &&
|
||||
!SignalStore.svr().hasOptedInWithAccess();
|
||||
!SignalStore.svr().hasPin();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user