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