Only resume lazy attachment restore in debug.

This commit is contained in:
Matthew Chen 2018-04-02 15:05:43 -04:00
parent aa7bf920e3
commit f7ea1678e7
1 changed files with 2 additions and 0 deletions

View File

@ -1135,8 +1135,10 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
[OWSBackup.sharedManager setup];
#ifdef DEBUG
// Resume lazy restore.
[OWSBackupLazyRestoreJob runAsync];
#endif
}
- (void)registrationStateDidChange