Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
@@ -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;
@@ -137,7 +137,6 @@
NSLog(@"Starting to read from socket");
dispatch_resume(_readSource);
- [self askOnSocket:@"" query:@"GET_STRINGS"];
}
- (void)restart