Skip to content

Commit

Permalink
SchedulingPlugin reset attendee participation state on significant ev…
Browse files Browse the repository at this point in the history
…ent change
  • Loading branch information
Jonas Heinrich committed Jan 24, 2023
1 parent 1ddd773 commit 2106db0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/CalDAV/Schedule/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2106db0

Please sign in to comment.