fix(core): skip folder check during ACL subscribe

This commit is contained in:
root
2020-05-04 09:57:49 -04:00
parent d29c00827c
commit 8a4e79963f

View File

@@ -413,7 +413,9 @@ typedef enum
fm = [GCSFolderManager defaultFolderManager];
f = [fm folderAtPath: [NSString stringWithFormat: @"/Users/%@/%@", owner, folder]];
if (!f)
// Skip the folder existence check so we can auto-create the personal folder
// for users that have never logged-in
if (!f && command != ManageACLSubscribe)
{
NSLog(@"No folder %@ found for user %@", folder, owner);
rc = NO;