Commit 752e61ab authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #134 in ZP/z-push from...

Merge pull request #134 in ZP/z-push from bugfix/ZP-808-research-and-review-sensitivity-for to develop

* commit 'a973c6ff':
  ZP-808 Set appointment as private if sensitivity is private or greater.
parents 989e8537 a973c6ff
...@@ -1176,7 +1176,7 @@ class MAPIProvider { ...@@ -1176,7 +1176,7 @@ class MAPIProvider {
$props[$appointmentprops["responsestatus"]] = (isset($appointment->responsestatus)) ? $appointment->responsestatus : olResponseNone; $props[$appointmentprops["responsestatus"]] = (isset($appointment->responsestatus)) ? $appointment->responsestatus : olResponseNone;
//sensitivity is not enough to mark an appointment as private, so we use another mapi tag //sensitivity is not enough to mark an appointment as private, so we use another mapi tag
$private = (isset($appointment->sensitivity) && $appointment->sensitivity == 0) ? false : true; $private = (isset($appointment->sensitivity) && $appointment->sensitivity >= SENSITIVITY_PRIVATE) ? true : false;
// Set commonstart/commonend to start/end and remindertime to start, duration, private and cleanGlobalObjectId // Set commonstart/commonend to start/end and remindertime to start, duration, private and cleanGlobalObjectId
$props[$appointmentprops["commonstart"]] = $appointment->starttime; $props[$appointmentprops["commonstart"]] = $appointment->starttime;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment