Commit a973c6ff authored by Manfred Kutas's avatar Manfred Kutas

ZP-808 Set appointment as private if sensitivity is private or greater.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 989e8537
...@@ -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