mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 10:20:25 +01:00
Fix migration crash if user is unregistered.
This commit is contained in:
committed by
Cody Henthorne
parent
e46564cb7e
commit
41fc4096e4
@@ -29,6 +29,11 @@ internal class AccountConsistencyMigrationJob(
|
||||
return
|
||||
}
|
||||
|
||||
if (!SignalStore.account().isRegistered || SignalStore.account().aci == null) {
|
||||
Log.i(TAG, "Not yet registered, skipping.")
|
||||
return
|
||||
}
|
||||
|
||||
ApplicationDependencies.getJobManager().add(AccountConsistencyWorkerJob())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user