mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
also add "principal-address" (URL of vCard of principal), as on pricipal itself
This commit is contained in:
parent
91dcf44555
commit
dbb998de96
@ -1099,6 +1099,10 @@ class addressbook_groupdav extends Api\CalDAV\Handler
|
||||
$data['props']['addressbook-home-set'] = Api\CalDAV::mkprop(Api\CalDAV::CARDDAV, 'addressbook-home-set', array(
|
||||
Api\CalDAV::mkprop('href',$data['caldav']->base_uri.'/'.$GLOBALS['egw_info']['user']['account_lid'].'/')));
|
||||
|
||||
$data['props']['principal-address'] = Api\CalDAV::mkprop(Api\CalDAV::CARDDAV, 'principal-address',
|
||||
$GLOBALS['egw_info']['user']['preferences']['addressbook']['hide_accounts'] ? '' : array(
|
||||
Api\CalDAV::mkprop('href',$data['caldav']->base_uri.'/addressbook-accounts/'.$GLOBALS['egw_info']['user']['person_id'].'.vcf')));
|
||||
|
||||
$data['props']['directory-gateway'] = Api\CalDAV::mkprop(Api\CalDAV::CARDDAV, 'directory-gateway', array(
|
||||
Api\CalDAV::mkprop('href',$data['caldav']->base_uri.'/addressbook/')));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user