Properly honor "include in freebusy"

Fixes #3354
This commit is contained in:
Francis Lachapelle
2017-04-27 09:02:46 -04:00
parent 663a0b60dd
commit ef5728dcaf
4 changed files with 31 additions and 29 deletions
+7 -3
View File
@@ -309,6 +309,7 @@
to: (NSCalendarDate *) endDate
{
SOGoAppointmentFolder *calFolder;
SOGoAppointmentFolders *calFolders;
SOGoUser *user;
SOGoUserDefaults *ud;
NSArray *folders;
@@ -318,9 +319,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++)
{