From f7ea1678e77c90ff0d77568951fc5a9c7cce6af1 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Mon, 2 Apr 2018 15:05:43 -0400 Subject: [PATCH] Only resume lazy attachment restore in debug. --- Signal/src/AppDelegate.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Signal/src/AppDelegate.m b/Signal/src/AppDelegate.m index eae87d402..b8a6adcd6 100644 --- a/Signal/src/AppDelegate.m +++ b/Signal/src/AppDelegate.m @@ -1135,8 +1135,10 @@ static NSString *const kURLHostVerifyPrefix = @"verify"; [OWSBackup.sharedManager setup]; +#ifdef DEBUG // Resume lazy restore. [OWSBackupLazyRestoreJob runAsync]; +#endif } - (void)registrationStateDidChange