do not use syncKey from cache when davCollectionTag = -1 - patch from tfu

This commit is contained in:
Ludovic Marcotte
2015-02-26 17:55:36 -05:00
parent 950507626b
commit 6860ef83ae
2 changed files with 2 additions and 1 deletions

View File

@@ -1211,7 +1211,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
{
// Make sure that client is updated with the right syncKey. - This keeps vtodo's and vevent's syncKey in sync.
syncKeyInCache = [folderMetadata objectForKey: @"SyncKey"];
if (syncKeyInCache && !([davCollectionTag isEqualToString:syncKeyInCache]))
if (syncKeyInCache && !([davCollectionTag isEqualToString:syncKeyInCache]) && ![davCollectionTag isEqualToString: @"-1"])
{
davCollectionTag = syncKeyInCache;
*changeDetected = YES;

1
NEWS
View File

@@ -10,6 +10,7 @@ Bug fixes
- fixed tasks disappearing issue with RoadSync
- use the correct body element for events for EAS 2.5 clients
- SmartReply improvements for missing body attributes
- do not use syncKey from cache when davCollectionTag = -1
2.2.16 (2015-02-12)
-------------------