Only fetch subfolders when they are supported

maint-2.0.2
Wolfgang Sourdeau 2012-09-27 19:23:56 -04:00
parent ead3c8f6b9
commit 08eb4d9f84
1 changed files with 1 additions and 1 deletions

View File

@ -1371,7 +1371,7 @@ Class NSExceptionK, MAPIStoreFAIMessageK, MAPIStoreMessageTableK, MAPIStoreFAIMe
- (int) getPidTagSubfolders: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
*data = MAPIBoolValue (memCtx, [[self folderKeys] count] > 0);
*data = MAPIBoolValue (memCtx, [self supportsSubFolders] && [[self folderKeys] count] > 0);
return MAPISTORE_SUCCESS;
}