Skip to content

Commit

Permalink
Reset attendees participation on eventDrop
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Heinrich committed Oct 15, 2023
1 parent d9c2322 commit 8afbae7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/fullcalendar/interaction/eventDrop.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ export default function(store, fcAPI) {
return
}

// Reset attendees participation state to NEEDS-ACTION, since eventDrop
// is always a signification change
// Workaround for Sabre-DAV not respecting RFC 6638 3.2.8, see
// https://github.com/sabre-io/dav/issues/1282
for (const attendee of eventComponent.getAttendeeIterator()) {
attendee.participationStatus = 'NEEDS-ACTION'
}

try {
// shiftByDuration may throw exceptions in certain cases
eventComponent.shiftByDuration(deltaDuration, event.allDay, timezone, defaultAllDayDuration, defaultTimedDuration)
Expand Down

0 comments on commit 8afbae7

Please sign in to comment.