Commit 7242bc8d authored by mku's avatar mku

ZP-461 #comment Notes that have been modified and synced with iOS7 contain html markup #time 1h

git-svn-id: https://z-push.org/svn/z-push/trunk@1779 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent f1c4b0ee
...@@ -475,6 +475,9 @@ class MAPIMapping { ...@@ -475,6 +475,9 @@ class MAPIMapping {
return array( return array(
"body" => PR_BODY, "body" => PR_BODY,
"messageclass" => PR_MESSAGE_CLASS, "messageclass" => PR_MESSAGE_CLASS,
"html" => PR_HTML,
"internetcpid" => PR_INTERNET_CPID,
); );
} }
......
...@@ -1548,7 +1548,9 @@ class MAPIProvider { ...@@ -1548,7 +1548,9 @@ class MAPIProvider {
$props = array(); $props = array();
$props[$noteprops["messageclass"]] = "IPM.StickyNote"; $props[$noteprops["messageclass"]] = "IPM.StickyNote";
// set body otherwise the note will be "broken" when editing it in outlook // set body otherwise the note will be "broken" when editing it in outlook
$props[$noteprops["body"]] = $note->asbody->data; $this->setASbody($note->asbody, $props, $noteprops);
$props[$noteprops["internetcpid"]] = INTERNET_CPID_UTF8;
mapi_setprops($mapimessage, $props); mapi_setprops($mapimessage, $props);
} }
......
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