fix(core): skip folder check during ACL subscribe

pull/274/head
Ludovic Marcotte 2020-05-04 12:57:11 -04:00
parent d29c00827c
commit 7929fd394f
1 changed files with 3 additions and 1 deletions

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;