diff options
author | Thomas Bruederli <bruederli@kolabsys.com> | 2013-09-12 08:59:44 (GMT) |
---|---|---|
committer | Thomas Bruederli <bruederli@kolabsys.com> | 2013-09-12 09:00:35 (GMT) |
commit | 06ea25164a8ab1b26318a4148eb2a9bd7defa66b (patch) | |
tree | 11851197e210b43d438e171fae839608509c974f | |
parent | 556afcd0c0e5bf71d98230a8e70c7c54b56b1b1e (diff) | |
download | iRony-06ea25164a8ab1b26318a4148eb2a9bd7defa66b.tar.gz |
Forward user-agent string to ical exporter to fix Apple's inconvenient handling of location properties
-rw-r--r-- | lib/Kolab/CalDAV/CalendarBackend.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Kolab/CalDAV/CalendarBackend.php b/lib/Kolab/CalDAV/CalendarBackend.php index 4b4a3c1..e9e8504 100644 --- a/lib/Kolab/CalDAV/CalendarBackend.php +++ b/lib/Kolab/CalDAV/CalendarBackend.php @@ -645,6 +645,7 @@ class CalendarBackend extends CalDAV\Backend\AbstractBackend { $ical = libcalendaring::get_ical(); $ical->set_prodid('-//Kolab//iRony DAV Server ' . KOLAB_DAV_VERSION . '//Sabre//Sabre VObject ' . VObject\Version::VERSION . '//EN'); + $ical->set_agent($this->useragent == 'ical' ? 'Apple' : ''); // list attachments as absolute URIs for Thunderbird if ($this->useragent == 'lightning') { |