Skip to content

Commit 0eacc4f

Browse files
forkedjenshjoshtrichards
authored andcommitted
Send iMIP CANCEL email for removed attendees
Fixes #63242 Signed-off-by: Jens Heidbüchel <j.heidbuechel@fz-juelich.de>
1 parent 556e9ec commit 0eacc4f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

apps/dav/lib/CalDAV/Schedule/IMipPlugin.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ public function schedule(Message $iTipMessage) {
156156
$oldVevent = !empty($modified['old']) && is_array($modified['old']) ? array_pop($modified['old']) : null;
157157
$isModified = isset($oldVevent);
158158

159+
if (empty($vEvent) && strtoupper($iTipMessage->method) === 'CANCEL') {
160+
$vEvent = $newEvents->VEVENT ?? null;
161+
}
162+
159163
// No changed events after all - this shouldn't happen if there is significant change yet here we are
160164
// The scheduling status is debatable
161165
if (empty($vEvent)) {

0 commit comments

Comments
 (0)