Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Ignore deleted collections on first sync

Neeraj Gupta47fbe0140bc4
diff --git a/pkg/collections.go b/pkg/collections.go
index 88dddf1d37..d78d8a2dae 100644
--- a/pkg/collections.go
+++ b/pkg/collections.go
@@ -26,6 +26,9 @@ func (c *ClICtrl) syncRemoteCollections(ctx context.Context, info model.Account)
}
maxUpdated := lastSyncTime
for _, collection := range collections {
+ if lastSyncTime == 0 && collection.IsDeleted {
+ continue
+ }
album, err2 := c.mapCollectionToAlbum(ctx, collection)
if err2 != nil {
return err2