Only fetch subfolders when they are supported
This commit is contained in:
parent
ead3c8f6b9
commit
08eb4d9f84
|
@ -1371,7 +1371,7 @@ Class NSExceptionK, MAPIStoreFAIMessageK, MAPIStoreMessageTableK, MAPIStoreFAIMe
|
||||||
- (int) getPidTagSubfolders: (void **) data
|
- (int) getPidTagSubfolders: (void **) data
|
||||||
inMemCtx: (TALLOC_CTX *) memCtx
|
inMemCtx: (TALLOC_CTX *) memCtx
|
||||||
{
|
{
|
||||||
*data = MAPIBoolValue (memCtx, [[self folderKeys] count] > 0);
|
*data = MAPIBoolValue (memCtx, [self supportsSubFolders] && [[self folderKeys] count] > 0);
|
||||||
|
|
||||||
return MAPISTORE_SUCCESS;
|
return MAPISTORE_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue