From 6f39a1144fe2f84a878b2cf7d13959ac89340101 Mon Sep 17 00:00:00 2001 From: ralf Date: Wed, 17 Apr 2024 09:17:28 +0200 Subject: [PATCH] also set id for calendar alarms, so notifications can group them with the event --- calendar/inc/class.calendar_boupdate.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index 2640dd4cdf..35e305e7f5 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -1246,7 +1246,7 @@ class calendar_boupdate extends calendar_bo 'id' => $event['id'], 'app' => 'calendar', 'videoconference' => $details['videoconference'], - )); + ), $event['id']); } if ($m_type === MSG_ALARM) { @@ -1257,7 +1257,7 @@ class calendar_boupdate extends calendar_bo 'account_id' => $senderid, 'name' => Api\Accounts::username($senderid) ) - + ($alarm ? ['alarm-offset' => (int)$alarm['offset']] : [])); + + ($alarm ? ['alarm-offset' => (int)$alarm['offset']] : []), $event['id']); } $notification->set_popupmessage($subject."\n\n".$notify_body."\n\n".$details['description']."\n\n".$details_body."\n\n"); $notification->set_popuplinks(array($details['link_arr']+array('app'=>'calendar')));