From b8b55ddc3d67e65f83b7e38d88affc654a264e0e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sat, 28 Aug 2021 13:07:39 +0200 Subject: [PATCH 1/1] Remove location short --- Command/CalendarCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Command/CalendarCommand.php b/Command/CalendarCommand.php index f22fb09..07e537b 100644 --- a/Command/CalendarCommand.php +++ b/Command/CalendarCommand.php @@ -351,7 +351,7 @@ class CalendarCommand extends Command { //TODO: replace 'airlibre' with $this->config['calendar']['prefix'] when possible with prefix validating [a-v0-9]{5,} //XXX: see https://developers.google.com/calendar/api/v3/reference/events/insert#id 'id' => $token['prefix'].$sessionId, - 'summary' => $session['au_pseudonym'].' '.$this->translator->trans('at '.$session['l_short']), + 'summary' => $session['au_pseudonym'].' '.$this->translator->trans('at '.$session['l_title']), #'description' => $markdown->convert(strip_tags($session['p_description'])), 'description' => $description, 'status' => empty($session['a_canceled'])?'confirmed':'cancelled', @@ -392,7 +392,7 @@ class CalendarCommand extends Command { //With updated event if ($session['updated'] >= (new \DateTime($event->getUpdated()))) { //Set summary - $event->setSummary($session['au_pseudonym'].' '.$this->translator->trans('at '.$session['l_short'])); + $event->setSummary($session['au_pseudonym'].' '.$this->translator->trans('at '.$session['l_title'])); //Set description $event->setDescription($description); -- 2.41.0