diff --git a/SoObjects/Appointments/SOGoFreeBusyObject.m b/SoObjects/Appointments/SOGoFreeBusyObject.m index 320e9e4a8..146979f91 100644 --- a/SoObjects/Appointments/SOGoFreeBusyObject.m +++ b/SoObjects/Appointments/SOGoFreeBusyObject.m @@ -179,10 +179,12 @@ static unsigned int freebusyRangeEnd = 0; } } - if (type == iCalFBBusy || type == iCalFBBusyTentative || type == iCalFBBusyUnavailable) + if (type == iCalFBBusy + || type == iCalFBBusyTentative + || type == iCalFBBusyUnavailable) [freebusy addFreeBusyFrom: [info objectForKey: @"startDate"] to: [info objectForKey: @"endDate"] - type: iCalFBBusyUnavailable]; + type: type]; } [calendar setUniqueChild: freebusy];