mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-13 07:47:12 +00:00
fix(core): skip folder check during ACL subscribe
This commit is contained in:
1 parent
d29c00827c
commit
8a4e79963f
1 file changed
+3
-1
@@ -413,7 +413,9 @@ typedef enum
|
|||||||
fm = [GCSFolderManager defaultFolderManager];
|
fm = [GCSFolderManager defaultFolderManager];
|
||||||
f = [fm folderAtPath: [NSString stringWithFormat: @"/Users/%@/%@", owner, folder]];
|
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);
|
NSLog(@"No folder %@ found for user %@", folder, owner);
|
||||||
rc = NO;
|
rc = NO;
|
||||||
|
|||||||
Reference in new issue
Block a user