From 20af97c2d246ca7830fb5115e36187cd7b53e084 Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sun, 9 Oct 2022 17:19:15 -0700 Subject: [PATCH] Fix bug where hishtory import wouldn't upload entries and thus those entries would be forever on the local device only --- client/lib/lib.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/lib/lib.go b/client/lib/lib.go index fc9712c..00e16d8 100644 --- a/client/lib/lib.go +++ b/client/lib/lib.go @@ -442,6 +442,10 @@ func ImportHistory(ctx *context.Context) (int, error) { return 0, fmt.Errorf("failed to insert imported history entry: %v", err) } } + err = Reupload(ctx) + if err != nil { + return 0, fmt.Errorf("failed to upload hishtory import: %v", err) + } config.HaveCompletedInitialImport = true err = hctx.SetConfig(config) if err != nil {