From 7ca6bf56b9992c960b4e92e73300031a858e5e95 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sun, 8 Jul 2012 11:56:10 +1200 Subject: [PATCH] Add Microsoft's X- property for recommended refresh times. --- inc/caldav-GET-functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/caldav-GET-functions.php b/inc/caldav-GET-functions.php index 4d911aad..b287ba0c 100644 --- a/inc/caldav-GET-functions.php +++ b/inc/caldav-GET-functions.php @@ -78,6 +78,7 @@ function export_iCalendar( DAVResource $dav_resource ) { if ( !empty($c->auto_refresh_duration) ) { $vcal->AddProperty("X-APPLE-AUTO-REFRESH-INTERVAL", $c->auto_refresh_duration); $vcal->AddProperty("AUTO-REFRESH", $c->auto_refresh_duration); + $vcal->AddProperty("X-PUBLISHED-TTL", $c->auto_refresh_duration); } $need_zones = array();