diff --git a/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncService.java b/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncService.java index 270f3cd37..fd2b5a98a 100644 --- a/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncService.java +++ b/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncService.java @@ -486,8 +486,10 @@ public final class ActFmSyncService { remoteIds.add(tagObject.getLong("id")); } - Long[] remoteIdArray = remoteIds.toArray(new Long[remoteIds.size()]); - tagDataService.deleteWhere(Criterion.not(TagData.REMOTE_ID.in(remoteIdArray))); + if(serverTime == 0) { + Long[] remoteIdArray = remoteIds.toArray(new Long[remoteIds.size()]); + tagDataService.deleteWhere(Criterion.not(TagData.REMOTE_ID.in(remoteIdArray))); + } } /**