mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 19:01:04 +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'] : '';
|
$mailtoParticipant = $info['email'] ? 'MAILTO:'.$info['email'] : '';
|
||||||
$participantCN = '"' . ($info['cn'] ? $info['cn'] : $info['name']) . '"';
|
$participantCN = '"' . ($info['cn'] ? $info['cn'] : $info['name']) . '"';
|
||||||
calendar_so::split_status($status, $quantity, $role);
|
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!
|
// RB: MAILTO href contains only the email-address, NO cn!
|
||||||
$attributes['ATTENDEE'][] = $mailtoParticipant;
|
$attributes['ATTENDEE'][] = $mailtoParticipant;
|
||||||
// RSVP={TRUE|FALSE} // resonse expected, not set in eGW => status=U
|
// 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
|
// according to iCalendar standard, ORGANIZER not used for events in the own calendar
|
||||||
if (!$organizerCN &&
|
if (!$organizerCN &&
|
||||||
($event['owner'] != $this->user
|
($event['owner'] != $this->user
|
||||||
|| $this->productManufacturer != 'groupdav'))
|
|| $this->productManufacturer != 'groupdav'
|
||||||
|
|| $this->productName == 'kde'))
|
||||||
{
|
{
|
||||||
$mailtoOrganizer = $GLOBALS['egw']->accounts->id2name($event['owner'],'account_email');
|
$mailtoOrganizer = $GLOBALS['egw']->accounts->id2name($event['owner'],'account_email');
|
||||||
$mailtoOrganizer = $mailtoOrganizer ? 'MAILTO:'.$mailtoOrganizer : '';
|
$mailtoOrganizer = $mailtoOrganizer ? 'MAILTO:'.$mailtoOrganizer : '';
|
||||||
|
Loading…
Reference in New Issue
Block a user