Просмотр исходного кода

Move FinderSync-specific GET_STRINGS initial call out of LocalSocketClient and into FinderSync

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra 3 лет назад
Родитель
Сommit
39850ab145

+ 1 - 0
shell_integration/MacOSX/NextcloudIntegration/FinderSyncExt/FinderSync.m

@@ -66,6 +66,7 @@
             self.localSocketClient = [[LocalSocketClient alloc] initWithSocketPath:socketPath.path
                                                                      lineProcessor:self.lineProcessor];
             [self.localSocketClient start];
+            [self.localSocketClient askOnSocket:@"" query:@"GET_STRINGS"];
         } else {
             NSLog(@"No socket path. Not initiating local socket client.");
             self.localSocketClient = nil;

+ 0 - 1
shell_integration/MacOSX/NextcloudIntegration/NCDesktopClientSocketKit/LocalSocketClient.m

@@ -137,7 +137,6 @@
     NSLog(@"Starting to read from socket");
     
     dispatch_resume(_readSource);
-    [self askOnSocket:@"" query:@"GET_STRINGS"];
 }
 
 - (void)restart