mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Set ORGANIZER for KDE
This commit is contained in:
parent
88ac091e2a
commit
192cbd836a
@ -439,12 +439,6 @@ class calendar_ical extends calendar_boupdate
|
||||
$mailtoParticipant = $info['email'] ? 'MAILTO:'.$info['email'] : '';
|
||||
$participantCN = '"' . ($info['cn'] ? $info['cn'] : $info['name']) . '"';
|
||||
calendar_so::split_status($status, $quantity, $role);
|
||||
if ($role == 'CHAIR' && $uid != $this->user)
|
||||
{
|
||||
$mailtoOrganizer = $mailtoParticipant;
|
||||
$organizerCN = $participantCN;
|
||||
if ($status == 'U') continue; // saved ORGANIZER
|
||||
}
|
||||
// RB: MAILTO href contains only the email-address, NO cn!
|
||||
$attributes['ATTENDEE'][] = $mailtoParticipant;
|
||||
// RSVP={TRUE|FALSE} // resonse expected, not set in eGW => status=U
|
||||
@ -496,7 +490,8 @@ class calendar_ical extends calendar_boupdate
|
||||
// according to iCalendar standard, ORGANIZER not used for events in the own calendar
|
||||
if (!$organizerCN &&
|
||||
($event['owner'] != $this->user
|
||||
|| $this->productManufacturer != 'groupdav'))
|
||||
|| $this->productManufacturer != 'groupdav'
|
||||
|| $this->productName == 'kde'))
|
||||
{
|
||||
$mailtoOrganizer = $GLOBALS['egw']->accounts->id2name($event['owner'],'account_email');
|
||||
$mailtoOrganizer = $mailtoOrganizer ? 'MAILTO:'.$mailtoOrganizer : '';
|
||||
|
Loading…
Reference in New Issue
Block a user