Skip to content

Commit

Permalink
fix(freebusy): fixes busy status not shown in thunderbird
Browse files Browse the repository at this point in the history
  • Loading branch information
SurajDadral committed Nov 13, 2024
1 parent c8ef5fd commit d128dab
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/FreeBusyGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -521,12 +521,7 @@ protected function generateFreeBusyCalendar(FreeBusyData $fbData): VCalendar
'FREEBUSY',
$busyTime[0]->format('Ymd\\THis\\Z').'/'.$busyTime[1]->format('Ymd\\THis\\Z')
);

// Only setting FBTYPE if it's not BUSY, because BUSY is the
// default anyway.
if ('BUSY' !== $busyType) {
$prop['FBTYPE'] = $busyType;
}
$prop['FBTYPE'] = $busyType;
$vfreebusy->add($prop);
}

Expand Down

0 comments on commit d128dab

Please sign in to comment.