Skip to content

Commit

Permalink
fix(appointments): Write Talk link to event
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
ChristophWurst authored and backportbot-nextcloud[bot] committed Nov 10, 2023
1 parent 65e92a8 commit cd5c556
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Service/Appointments/BookingCalendarWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ public function write(AppointmentConfig $config,
$vcalendar->VEVENT->add($alarm);
}

if ($config->getLocation() !== null) {
$vcalendar->VEVENT->add('LOCATION', $config->getLocation());
if ($location !== null) {
$vcalendar->VEVENT->add('LOCATION', $location);
}

$vcalendar->VEVENT->add('X-NC-APPOINTMENT', $config->getToken());
Expand Down

0 comments on commit cd5c556

Please sign in to comment.