Skip to content

Commit f839b1f

Browse files
author
Jonas Heinrich
committed
Reset attendees participation on eventDrop
1 parent d9c2322 commit f839b1f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/fullcalendar/interaction/eventDrop.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@ export default function(store, fcAPI) {
6868
return
6969
}
7070

71+
// Reset attendees participation state to NEEDS-ACTION, since eventDrop
72+
// is always a signification change
73+
// Partly a workaround for Sabre-DAV not respecting RFC 6638 3.2.8, see
74+
// https://github.com/sabre-io/dav/issues/1282
75+
for (const attendee of eventComponent.getAttendeeIterator()) {
76+
attendee.participationStatus = 'NEEDS-ACTION'
77+
}
78+
7179
try {
7280
// shiftByDuration may throw exceptions in certain cases
7381
eventComponent.shiftByDuration(deltaDuration, event.allDay, timezone, defaultAllDayDuration, defaultTimedDuration)

0 commit comments

Comments
 (0)