mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
WIP BBB: Fix ical notification contains wrong url
This commit is contained in:
parent
24f7ed8401
commit
00a09eafa0
@ -1116,7 +1116,7 @@ class calendar_boupdate extends calendar_bo
|
||||
switch($msg_type == MSG_ALARM ? 'extended' : $part_prefs['calendar']['update_format'])
|
||||
{
|
||||
case 'ical':
|
||||
if (is_null($ics) || $m_type != $msg_type) // need different ical for organizer notification
|
||||
if (is_null($ics) || $m_type != $msg_type || $event['##videoconference']) // need different ical for organizer notification or videoconference join urls
|
||||
{
|
||||
$calendar_ical = new calendar_ical();
|
||||
$calendar_ical->setSupportedFields('full'); // full iCal fields+event TZ
|
||||
|
@ -687,7 +687,8 @@ class calendar_groupdav extends Api\CalDAV\Handler
|
||||
'name' => Api\Accounts::username($user),
|
||||
'email' => Api\Accounts::id2name($user, 'account_email'),
|
||||
'avatar' => (string)$avatar,
|
||||
'account_id' => $user
|
||||
'account_id' => $user,
|
||||
'cal_id' => $event['id']
|
||||
], [], $event['start_date'], $event['end_date']);
|
||||
$event['description'] = lang('Videoconference').":\n$link\n\n".$event['description'];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user