Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[carddav] Add CardDAV sync plugin code #1

Closed
wants to merge 1 commit into from
Closed

[carddav] Add CardDAV sync plugin code #1

wants to merge 1 commit into from

Conversation

chriadam
Copy link
Contributor

@chriadam chriadam commented Jul 4, 2014

This commit adds support for CardDAV sync

// now update our id mapping in case anything changed.
// this is necessary especially for added contacts, which previously had no id.
Q_FOREACH (const QContact &c, addMod) {
if (c.id().isNull()) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm hitting this in my testing. Not sure why this is happening, or what can cause it to occur.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, this could happen because removed contacts didn't have their ids set correctly, previously (I had been clearing the m_contactIds[guid] value before returning the AMR set to the syncer.cpp code, which meant that we couldn't set a real id in Removed contacts). Fixed now.

@matthewvogt
Copy link

LGTM

This commit adds support for CardDAV sync
@chriadam chriadam closed this Jul 8, 2014
@chriadam chriadam deleted the wip branch July 8, 2014 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants