From 25106d3c0305e0e981e60253de9bc01705ab2162 Mon Sep 17 00:00:00 2001 From: Corey Baker Date: Fri, 21 Apr 2023 10:01:53 -0400 Subject: [PATCH] always keep local remote knowledge vector updated in pullRevisions --- Sources/ParseCareKit/ParseRemote.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/ParseCareKit/ParseRemote.swift b/Sources/ParseCareKit/ParseRemote.swift index 6fd238d6f..42fdb6902 100644 --- a/Sources/ParseCareKit/ParseRemote.swift +++ b/Sources/ParseCareKit/ParseRemote.swift @@ -308,6 +308,8 @@ public class ParseRemote: OCKRemoteSynchronizable { completion(ParseCareKitError.couldntUnwrapClock) return } + } else { + await self.remoteStatus.updateKnowledgeVector(updatedParseClock.knowledgeVector) } // 4. Lock in the changes and catch up local device.