Commit 22bdbb74 authored by Sebastian Kummer's avatar Sebastian Kummer

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

Merge pull request #202 in ZP/z-push from bugfix/ZP-879-fix-for-zp-779-doesn-t-work-when-working to develop

* commit 'b4d8e621':
  ZP-879 Fixed moving items when working on shared folders.
parents 220672cb b4d8e621
...@@ -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