Skip to content

Commit

Permalink
Merge pull request #412 from bosim/cancel-timezone
Browse files Browse the repository at this point in the history
Broker: add timezone to CANCEL messages
  • Loading branch information
DeepDiver1975 committed Sep 5, 2018
2 parents 881c9ab + fa43866 commit 3038d17
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/ITip/Broker.php
Expand Up @@ -523,6 +523,11 @@ protected function parseEventForOrganizer(VCalendar $calendar, array $eventInfo,
// Creating the new iCalendar body.
$icalMsg = new VCalendar();
$icalMsg->METHOD = $message->method;

foreach ($calendar->select('VTIMEZONE') as $timezone) {
$icalMsg->add(clone $timezone);
}

$event = $icalMsg->add('VEVENT', [
'UID' => $message->uid,
'SEQUENCE' => $message->sequence,
Expand Down

0 comments on commit 3038d17

Please sign in to comment.