Skip to content

Commit

Permalink
Merge branch 'jb51873' into 'master'
Browse files Browse the repository at this point in the history
[buteo-sync-plugin-carddav] Don't duplicate-add unmodified remote collections....

See merge request mer-core/buteo-sync-plugin-carddav!28
  • Loading branch information
chriadam committed Nov 24, 2020
2 parents 02d8587 + f702dd6 commit 4d55f4f
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 4d55f4f

Please sign in to comment.