Skip to content

Commit

Permalink
[buteo-sync-plugin-carddav] Don't duplicate-add unmodified remote col…
Browse files Browse the repository at this point in the history
…lections. Contributes to JB#51873
  • Loading branch information
chriadam committed Nov 20, 2020
1 parent 02d8587 commit f702dd6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/syncer.cpp
Expand Up @@ -222,7 +222,9 @@ bool Syncer::determineRemoteCollectionChanges(
remotelyModifiedCollections.append(remoteMod);
} else {
// we assume that the remote collection is unmodified.
remotelyUnmodifiedCollections.append(remoteCollections.take(path));
remoteCollections.remove(path);
QContactCollection remoteUnmod = local; // need id etc.
remotelyUnmodifiedCollections.append(remoteUnmod);
}
}
}
Expand Down

0 comments on commit f702dd6

Please sign in to comment.