summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-10-10 10:04:51 (GMT)
committerThomas Bruederli <thomas@roundcube.net>2014-10-10 10:04:51 (GMT)
commitc864d8b95d776276cbddddb71a6a9d5130d83ddc (patch)
tree485394cf269e48e9e5a9d1dac75e9e038a57217e
parentb86d6d05973920954d65e9705680c85596b72375 (diff)
downloadkolab-freebusy-c864d8b95d776276cbddddb71a6a9d5130d83ddc.tar.gz
Create UID for free/busy output as requested by the RFC 5545 (#3755)
-rw-r--r--lib/Kolab/FreeBusy/SourceIMAP.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Kolab/FreeBusy/SourceIMAP.php b/lib/Kolab/FreeBusy/SourceIMAP.php
index 8fc0b7f..9f39313 100644
--- a/lib/Kolab/FreeBusy/SourceIMAP.php
+++ b/lib/Kolab/FreeBusy/SourceIMAP.php
@@ -249,6 +249,7 @@ class SourceIMAP extends Source
$freebusy = $fbgen->getResult();
$freebusy->PRODID = Utils::PRODID;
$freebusy->METHOD = 'PUBLISH';
+ $freebusy->VFREEBUSY->UID = date('YmdHi') . '-' . substr(md5($user_email[0]), 0, 16);
$freebusy->VFREEBUSY->ORGANIZER = 'mailto:' . $user_email[0];
// serialize to VCALENDAR format