mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Support accounts without pins in AEP restore flows.
This commit is contained in:
@@ -37,7 +37,7 @@ public final class PinOptOutMigration extends MigrationJob {
|
||||
|
||||
@Override
|
||||
void performMigration() {
|
||||
if (SignalStore.svr().hasOptedOut() && SignalStore.svr().hasOptedInWithAccess()) {
|
||||
if (SignalStore.svr().hasOptedOut() && SignalStore.svr().hasPin()) {
|
||||
Log.w(TAG, "Discovered a legacy opt-out user! Resetting the state.");
|
||||
|
||||
SignalStore.svr().optOut();
|
||||
|
||||
Reference in New Issue
Block a user