From 53b807788a88da8187b27dad8bf243ea93800e8f Mon Sep 17 00:00:00 2001 From: Michael Starke Date: Fri, 12 Jul 2019 17:07:30 +0200 Subject: [PATCH] Fixed issue where remove connection would be used despite the user not consenting to it. --- MacPass/MPPluginRepository.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MacPass/MPPluginRepository.m b/MacPass/MPPluginRepository.m index 098e7529..923c3bc0 100644 --- a/MacPass/MPPluginRepository.m +++ b/MacPass/MPPluginRepository.m @@ -95,7 +95,9 @@ NSString *const MPPluginRepositoryDidUpdateAvailablePluginsNotification = @"com. if(!allowRemoteConnection) { [self _fetchLocalFallbackRepositoryData:completionHandler]; } - [self _fetchRepositoryDataCompletionHandler:completionHandler]; + else { + [self _fetchRepositoryDataCompletionHandler:completionHandler]; + } }); }