mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-03-02 07:23:38 +00:00
Fix post-registration restore bug.
This commit is contained in:
committed by
Greyson Parrelli
parent
7cc425fa7b
commit
58a48e38eb
@@ -824,9 +824,7 @@ class RegistrationViewModel : ViewModel() {
|
||||
|
||||
if (reglockEnabled) {
|
||||
SignalStore.onboarding.clearAll()
|
||||
}
|
||||
|
||||
if (reglockEnabled || SignalStore.storageService.lastSyncTime == 0L) {
|
||||
val stopwatch = Stopwatch("post-reg-storage-service")
|
||||
|
||||
AppDependencies.jobManager.runSynchronously(StorageAccountRestoreJob(), StorageAccountRestoreJob.LIFESPAN)
|
||||
|
||||
Reference in New Issue
Block a user