From 2106db0eed5dea58e294712a54413bd451a54252 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Tue, 24 Jan 2023 18:41:34 +0100 Subject: [PATCH] SchedulingPlugin reset attendee participation state on significant event change --- lib/CalDAV/Schedule/Plugin.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/CalDAV/Schedule/Plugin.php b/lib/CalDAV/Schedule/Plugin.php index 3cc360f1d4..e16e3868d2 100644 --- a/lib/CalDAV/Schedule/Plugin.php +++ b/lib/CalDAV/Schedule/Plugin.php @@ -638,6 +638,11 @@ protected function processICalendarChange($oldObject, VCalendar $newObject, arra if ($message->scheduleStatus) { $attendee['SCHEDULE-STATUS'] = $message->getScheduleStatus(); } + // In case change to an existing event is significant, reset participation + // status of attendee to NEEDS-ACTION + if ($message->significantChange) { + $attendee['PARTSTAT'] = "NEEDS-ACTION"; + } unset($attendee['SCHEDULE-FORCE-SEND']); break; }