Merge pull request #205 from zentyal/jag/dont-sync-contact-group-from-sogo

Do not save IPM.DistList messages
This commit is contained in:
Enrique J. Hernández
2015-11-19 10:39:59 +01:00
2 changed files with 26 additions and 7 deletions

View File

@@ -140,9 +140,16 @@
[parentFolder synchroniseCache];
changeKey = [parentFolder changeKeyForMessageWithKey: nameInContainer];
}
if (!changeKey)
abort ();
*data = [changeKey asBinaryInMemCtx: memCtx];
if (changeKey)
*data = [changeKey asBinaryInMemCtx: memCtx];
else
{
[self warnWithFormat: @"No change key for %@ in folder %@",
nameInContainer,
[parentFolder url]
];
rc = MAPISTORE_ERR_NOT_FOUND;
}
}
return rc;