Ignore deleted collections on first sync
This commit is contained in:
parent
a800ce745a
commit
47fbe0140b
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue