mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
setting CardDAV:max-image-size on addressbook collections, so iOS scales it down before sending
This commit is contained in:
parent
ed96f75391
commit
693a819d57
@ -585,6 +585,9 @@ class addressbook_groupdav extends groupdav_handler
|
|||||||
// default addressbook description: can be overwritten via PROPPATCH, in which case it's already set
|
// default addressbook description: can be overwritten via PROPPATCH, in which case it's already set
|
||||||
$props['addressbook-description'] = HTTP_WebDAV_Server::mkprop(groupdav::CARDDAV,'addressbook-description',$props['displayname']);
|
$props['addressbook-description'] = HTTP_WebDAV_Server::mkprop(groupdav::CARDDAV,'addressbook-description',$props['displayname']);
|
||||||
}
|
}
|
||||||
|
// setting an max image size, so iOS scales the images before transmitting them
|
||||||
|
$props['max-image-size'] = HTTP_WebDAV_Server::mkprop(groupdav::CARDDAV,'max-image-size',4096);
|
||||||
|
|
||||||
// supported reports (required property for CardDAV)
|
// supported reports (required property for CardDAV)
|
||||||
$props['supported-report-set'] = HTTP_WebDAV_Server::mkprop('supported-report-set',array(
|
$props['supported-report-set'] = HTTP_WebDAV_Server::mkprop('supported-report-set',array(
|
||||||
HTTP_WebDAV_Server::mkprop('supported-report',array(
|
HTTP_WebDAV_Server::mkprop('supported-report',array(
|
||||||
|
Loading…
Reference in New Issue
Block a user