Respond to CR.

// FREEBIE
pull/1/head
Matthew Chen 7 years ago
parent 5afe9bca6f
commit 1a593e5f34

@ -44,19 +44,18 @@ NS_ASSUME_NONNULL_BEGIN
OWSAssert(delegate);
_delegate = delegate;
self.shouldNotifyDelegateOfUpdatedContacts = YES;
_blockingManager = [OWSBlockingManager sharedManager];
_blockedPhoneNumbers = [_blockingManager blockedPhoneNumbers];
_contactsManager = [Environment getCurrent].contactsManager;
// We don't want to notify the delegate in the `updateContacts`.
self.shouldNotifyDelegateOfUpdatedContacts = YES;
[self updateContacts];
self.shouldNotifyDelegateOfUpdatedContacts = NO;
[self observeNotifications];
self.shouldNotifyDelegateOfUpdatedContacts = NO;
return self;
}

Loading…
Cancel
Save