Commit 1680807d authored by Sebastian Kummer's avatar Sebastian Kummer

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

Merge pull request #129 in ZP/z-push from bugfix/ZP-817-pr_sensitivity-is-not-saved-for-tasks to develop

* commit 'a333cd79':
  ZP-817 Sensitivity (private) of tasks is not saved on the server.
parents 4dba2866 a333cd79
...@@ -401,6 +401,7 @@ class MAPIMapping { ...@@ -401,6 +401,7 @@ class MAPIMapping {
"status" => "PT_LONG:PSETID_Task:0x8101", "status" => "PT_LONG:PSETID_Task:0x8101",
"icon" => PR_ICON_INDEX, "icon" => PR_ICON_INDEX,
"owner" => "PT_STRING8:PSETID_Task:0x811F", "owner" => "PT_STRING8:PSETID_Task:0x811F",
"private" => "PT_BOOLEAN:PSETID_Common:0x8506",
); );
} }
......
...@@ -1589,6 +1589,10 @@ class MAPIProvider { ...@@ -1589,6 +1589,10 @@ class MAPIProvider {
$recurrence->setRecurrence($recur); $recurrence->setRecurrence($recur);
} }
if (isset($task->sensitivity) && $task->sensitivity == SENSITIVITY_PRIVATE) {
$props[$taskprops["private"]] = true;
}
//open addresss book for user resolve to set the owner //open addresss book for user resolve to set the owner
$addrbook = $this->getAddressbook(); $addrbook = $this->getAddressbook();
......
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