mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
keep role "CHAIR" from an external organizer, even if he is a regular participant with a different role
This commit is contained in:
parent
838966ae9e
commit
85aae69c69
@ -2827,6 +2827,13 @@ class calendar_ical extends calendar_boupdate
|
||||
if (!isset($vcardData['participants'][$uid]) ||
|
||||
$vcardData['participants'][$uid][0] != 'A')
|
||||
{
|
||||
// keep role 'CHAIR' from an external organizer, even if he is a regular participant with a different role
|
||||
// as this is currently the only way to store an external organizer and send him iMip responses
|
||||
if (isset($vcardData['participants'][$uid]) && ($s=$vcardData['participants'][$uid]) &&
|
||||
calendar_so::split_status($s, $q, $r) && $r == 'CHAIR')
|
||||
{
|
||||
$role = 'CHAIR';
|
||||
}
|
||||
// for multiple entries the ACCEPT wins
|
||||
// add quantity and role
|
||||
$vcardData['participants'][$uid] =
|
||||
|
Loading…
Reference in New Issue
Block a user