From d128daba62f22bbde0b667f277be633365fefc32 Mon Sep 17 00:00:00 2001 From: Suraj Dadral Date: Wed, 13 Nov 2024 17:31:25 +0530 Subject: [PATCH] fix(freebusy): fixes busy status not shown in thunderbird --- lib/FreeBusyGenerator.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/FreeBusyGenerator.php b/lib/FreeBusyGenerator.php index 424826034..5e30805e8 100644 --- a/lib/FreeBusyGenerator.php +++ b/lib/FreeBusyGenerator.php @@ -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); }