Skip to content

Commit 2106db0

Browse files
author
Jonas Heinrich
committed
SchedulingPlugin reset attendee participation state on significant event change
1 parent 1ddd773 commit 2106db0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/CalDAV/Schedule/Plugin.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,11 @@ protected function processICalendarChange($oldObject, VCalendar $newObject, arra
638638
if ($message->scheduleStatus) {
639639
$attendee['SCHEDULE-STATUS'] = $message->getScheduleStatus();
640640
}
641+
// In case change to an existing event is significant, reset participation
642+
// status of attendee to NEEDS-ACTION
643+
if ($message->significantChange) {
644+
$attendee['PARTSTAT'] = "NEEDS-ACTION";
645+
}
641646
unset($attendee['SCHEDULE-FORCE-SEND']);
642647
break;
643648
}

0 commit comments

Comments
 (0)