|
|
@ -1,5 +1,5 @@
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
|
|
|
// Copyright (c) 2019 Open Whisper Systems. All rights reserved.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
#import "OWSBackup.h"
|
|
|
|
#import "OWSBackup.h"
|
|
|
@ -138,6 +138,10 @@ NSError *OWSBackupErrorWithDescription(NSString *description)
|
|
|
|
|
|
|
|
|
|
|
|
- (void)setup
|
|
|
|
- (void)setup
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
if (!OWSBackup.isFeatureEnabled) {
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[OWSBackupAPI setup];
|
|
|
|
[OWSBackupAPI setup];
|
|
|
|
|
|
|
|
|
|
|
|
[[NSNotificationCenter defaultCenter] addObserver:self
|
|
|
|
[[NSNotificationCenter defaultCenter] addObserver:self
|
|
|
|