Commit 71a6eccb authored by Andreas Brodowski's avatar Andreas Brodowski

ZP-1253 windows-phone-8.1-kopano-importmessagechange. Released under the...

ZP-1253 windows-phone-8.1-kopano-importmessagechange. Released under the Affero GNU General Public License (AGPL) version 3.
parent ce01d813
...@@ -392,7 +392,7 @@ class ImportChangesICS implements IImportChanges { ...@@ -392,7 +392,7 @@ class ImportChangesICS implements IImportChanges {
// set the PR_SOURCE_KEY if available or mark it as new message // set the PR_SOURCE_KEY if available or mark it as new message
if($id) { if($id) {
list(, $sk) = Utils::SplitMessageId($id); list(, $sk) = Utils::SplitMessageId($id);
$props[PR_SOURCE_KEY] = hex2bin($sk); $props[PR_SOURCE_KEY] = hex2bin(preg_replace('/[^A-Fa-f0-9]/','',$sk));
// check if message is in the synchronization interval and/or shared+private // check if message is in the synchronization interval and/or shared+private
if (!$this->isModificationAllowed($sk)) if (!$this->isModificationAllowed($sk))
......
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