From 60bfa7e85796af75e181abc90c1fd1b11e139697 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Mon, 11 Mar 2019 11:24:51 -0700 Subject: [PATCH] Only fetch contacts if already authorized --- .../src/ViewControllers/Registration/OnboardingController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Signal/src/ViewControllers/Registration/OnboardingController.swift b/Signal/src/ViewControllers/Registration/OnboardingController.swift index 99a27d873..f844bcb3e 100644 --- a/Signal/src/ViewControllers/Registration/OnboardingController.swift +++ b/Signal/src/ViewControllers/Registration/OnboardingController.swift @@ -171,7 +171,7 @@ public class OnboardingController: NSObject { // We start the contact fetch/intersection now so that by the time // they get to HomeView we can show meaningful contact in the suggested // contact bubble. - contactsManager.requestSystemContactsOnce() + contactsManager.fetchSystemContactsOnceIfAlreadyAuthorized() if tsAccountManager.isReregistering() { showProfileView(fromView: view)