From 17f8e3016bb3382d3d3af8628febd5429b46f0b6 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 6 Aug 2018 18:20:07 +0200 Subject: [PATCH] * CalDAV/Calendar: fix accepting invitations with an not attending organizer adds organizer as attendee Before we added a not attending organizer as attendee with status DELEGATED, now we no longer add him as attendee at all. --- calendar/inc/class.calendar_ical.inc.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/calendar/inc/class.calendar_ical.inc.php b/calendar/inc/class.calendar_ical.inc.php index 8de37b0df9..c5ecef8a84 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -572,20 +572,6 @@ class calendar_ical extends calendar_boupdate $organizerURL = empty($organizerEMail) ? '' : 'mailto:' . $organizerEMail; } $organizerUID = $event['owner']; - if (!isset($event['participants'][$event['owner']])) - { - $options = array( - 'ROLE' => 'CHAIR', - 'PARTSTAT' => 'DELEGATED', - 'CUTYPE' => 'INDIVIDUAL', - //'RSVP' => 'FALSE', - ); - if (!empty($organizerCN)) $options['CN'] = $organizerCN; - if (!empty($organizerEMail)) $options['EMAIL'] = $organizerEMail; - if (!empty($event['owner'])) $options['X-EGROUPWARE-UID'] = $event['owner']; - $attributes['ATTENDEE'][] = $organizerURL; - $parameters['ATTENDEE'][] = $options; - } } // do NOT use ORGANIZER for events without further participants or a different organizer if (count($event['participants']) > 1 || !isset($event['participants'][$event['owner']]))