From eff3446353d278e9ff12970a97c4d95e6ccb8d3d Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Wed, 14 Dec 2016 13:42:22 -0500 Subject: [PATCH] (fix) properly skip folders we don't want (fixes #3943) --- ActiveSync/SOGoActiveSyncDispatcher.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ActiveSync/SOGoActiveSyncDispatcher.m b/ActiveSync/SOGoActiveSyncDispatcher.m index b47d9d8d8..f3e125344 100644 --- a/ActiveSync/SOGoActiveSyncDispatcher.m +++ b/ActiveSync/SOGoActiveSyncDispatcher.m @@ -979,6 +979,7 @@ void handle_eas_terminate(int signum) command_count++; } [o destroy]; + continue; } // Remove the folder from device if it is a contact folder and we have no SOGoRole_ObjectViewer. @@ -1126,6 +1127,7 @@ void handle_eas_terminate(int signum) ![currentFolder synchronize]) { [folders removeObjectAtIndex: count]; + continue; } // Remove the folder from the device if it is a contact folder and we have no SOGoRole_ObjectViewer access right.