mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Fix issue where we could enqueue unsatisfiable jobs during registration.
This commit is contained in:
@@ -878,7 +878,7 @@ class RegistrationViewModel : ViewModel() {
|
||||
stopwatch.split("account-restore")
|
||||
|
||||
AppDependencies.jobManager
|
||||
.startChain(StorageSyncJob.forRemoteChange())
|
||||
.startChain(StorageSyncJob.forAccountRestore())
|
||||
.then(ReclaimUsernameAndLinkJob())
|
||||
.enqueueAndBlockUntilCompletion(TimeUnit.SECONDS.toMillis(10))
|
||||
stopwatch.split("storage-sync")
|
||||
|
||||
Reference in New Issue
Block a user