Commit b4d8e621 authored by Manfred Kutas's avatar Manfred Kutas

ZP-879 Fixed moving items when working on shared folders.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 220672cb
...@@ -482,8 +482,9 @@ class ImportChangesICS implements IImportChanges { ...@@ -482,8 +482,9 @@ class ImportChangesICS implements IImportChanges {
if (ctype_digit($fsk)) { if (ctype_digit($fsk)) {
$fsk = ZPush::GetDeviceManager()->GetBackendIdForFolderId($fsk); $fsk = ZPush::GetDeviceManager()->GetBackendIdForFolderId($fsk);
} }
$entryid = mapi_msgstore_entryidfromsourcekey($this->store, hex2bin($fsk), hex2bin($sk)); $store = ZPush::GetBackend()->GetMAPIStoreForFolderId(ZPush::GetAdditionalSyncFolderStore($fsk), $fsk);
$realMessage = mapi_msgstore_openentry($this->store, $entryid); $entryid = mapi_msgstore_entryidfromsourcekey($store, hex2bin($fsk), hex2bin($sk));
$realMessage = mapi_msgstore_openentry($store, $entryid);
$flag = 0; $flag = 0;
if ($flags == 0) if ($flags == 0)
$flag |= CLEAR_READ_FLAG; $flag |= CLEAR_READ_FLAG;
......
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