Commit df29b821 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-1045 Only ignore KOE email updates.

Released under the Affero GNU General Public License (AGPL) version 3.
parent fb12c9f5
......@@ -417,7 +417,7 @@ class ImportChangesICS implements IImportChanges {
}
// KOE ZP-990: OL updates the deleted category which causes a race condition if more than one KOE is connected to that user
if(ZPush::GetDeviceManager()->IsKoe() && KOE_CAPABILITY_RECEIVEFLAGS && !isset($message->flag) && isset($message->categories)) {
if(ZPush::GetDeviceManager()->IsKoe() && KOE_CAPABILITY_RECEIVEFLAGS && $message instanceof SyncMail && !isset($message->flag) && isset($message->categories)) {
// check if the categories changed
$mapiCategories = $this->mapiprovider->GetMessageCategories($props[PR_PARENT_SOURCE_KEY], $props[PR_SOURCE_KEY]);
if( (empty($message->categories) && empty($mapiCategories)) ||
......
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