]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
Move FinderSync-specific GET_STRINGS initial call out of LocalSocketClient and into...
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Wed, 28 Dec 2022 23:46:44 +0000 (00:46 +0100)
committerClaudio Cambra <claudio.cambra@nextcloud.com>
Fri, 12 May 2023 05:21:09 +0000 (13:21 +0800)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
shell_integration/MacOSX/NextcloudIntegration/FinderSyncExt/FinderSync.m
shell_integration/MacOSX/NextcloudIntegration/NCDesktopClientSocketKit/LocalSocketClient.m

index a86c3f7327e56df4269dd2f3337ec1053fe76005..3e8123e82b52566d302af1517374db2df29c76b6 100644 (file)
@@ -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;
index ffd577f93fc569ced1f5c939be4e79170c4f1e15..7e62fc0f373464fbc5da252511e908218fa44233 100644 (file)
     NSLog(@"Starting to read from socket");
     
     dispatch_resume(_readSource);
-    [self askOnSocket:@"" query:@"GET_STRINGS"];
 }
 
 - (void)restart