From 5a97832e5c3d7acd532fb7352185a02eb1fdf012 Mon Sep 17 00:00:00 2001
From: root <root@example.com>
Date: Tue, 29 Apr 2014 10:22:17 +0200
Subject: [PATCH 2/2] mail-softdelete-hasPrefix

---
 ActiveSync/SOGoActiveSyncDispatcher+Sync.m |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ActiveSync/SOGoActiveSyncDispatcher+Sync.m b/ActiveSync/SOGoActiveSyncDispatcher+Sync.m
index 0668cb0..9b59b9e 100644
--- a/ActiveSync/SOGoActiveSyncDispatcher+Sync.m
+++ b/ActiveSync/SOGoActiveSyncDispatcher+Sync.m
@@ -465,8 +465,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   // No changes in the collection - 2.2.2.19.1.1 Empty Sync Request.
   // We check this and we don't generate any commands if we don't have to.
   //
-  if ([theSyncKey isEqualToString: [theCollection davCollectionTag]]) {
-    NSLog(@"tfu no change -- checking cutof date");
+  if ([theSyncKey hasPrefix: [theCollection davCollectionTag]]) {
+    NSLog(@"tfu no change -- checking cutoff date");
     // tfu if the oldestDate is == to the current filter (cutoff date) then there is nothing to do about softdelets
     if (oldestDate && theFilterType) {
          NSLog(@"tfu dayOfCommonEra Oldest %d", [[[NSCalendarDate alloc] initWithTimeIntervalSince1970:[oldestDate intValue]] dayOfCommonEra]);
-- 
1.7.9.5

