mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 10:23:28 +01:00
* Calendar/EMail: accepting mail invitations sets now external organizer as role CHAIR (externals can not be event-owners), to send replys back to organizer
This commit is contained in:
parent
3fa98b8209
commit
dc4755efb6
@ -2823,6 +2823,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