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