From d8eae96d638f3557cb4f07c4fa4d07776e4734ef 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 f2413a19a..9331cb07f 100644 --- a/ActiveSync/SOGoActiveSyncDispatcher.m +++ b/ActiveSync/SOGoActiveSyncDispatcher.m @@ -947,6 +947,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. @@ -1097,6 +1098,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.