Properly honor "include in freebusy"

Fixes #3354
This commit is contained in:
Francis Lachapelle
2017-04-27 09:02:46 -04:00
parent 2705b5956a
commit 3f698447b9
4 changed files with 31 additions and 29 deletions

View File

@@ -317,6 +317,7 @@
to: (NSCalendarDate *) endDate
{
SOGoAppointmentFolder *calFolder;
SOGoAppointmentFolders *calFolders;
SOGoUser *user;
SOGoUserDefaults *ud;
NSArray *folders;
@@ -326,9 +327,12 @@
infos = [NSMutableArray array];
folders = [[container lookupName: @"Calendar"
inContext: context
acquire: NO] subFolders];
calFolders = [container lookupName: @"Calendar"
inContext: context
acquire: NO];
[calFolders appendSubscribedSources];
folders = [calFolders subFolders];
max = [folders count];
for (count = 0; count < max; count++)
{