<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Hi Geoff,</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">first off, thanks very much for working
      on this! Reliable cardDAV 2-way sync is my probably number 1
      missing feature in Thunderbird for me. It will be important for
      everyone who doesn't want to share their address book with
      Google/Apple.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 27.08.20 04:04, Geoff Lankow wrote:</div>
    <blockquote type="cite"
      cite="mid:54604844-b7aa-a832-ef7d-0927b90a8cc7@thunderbird.net">
      <p>Not all vCard data can be represented in the nsIAbCard format,
        so I've tried hard to ensure that Thunderbird can use the most
        relevant information, and that information doesn't get lost when
        converting back to vCard. (And yes, for those of you who have
        read the CardDAV documentation, we do store the original vCard
        and only modify it as necessary.)</p>
    </blockquote>
    <br>
    <p>thank you for your diligence in this! Details like that make and
      break an implementation - or even other clients that synchronize
      the same AB. I appreciate that you're trying to do this right.
      Users will never know that your diligence saved their address
      book, but you will know that you did :).<br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:54604844-b7aa-a832-ef7d-0927b90a8cc7@thunderbird.net">
      <p><b>Status of Beta, Thunderbird 81:</b></p>
      <p>CardDAV has the ability to do periodic and on-demand
        synchronisation with the server. You can right click on an
        address book in the UI and choose synchronise. Automatic
        synchronisation happens shortly after Thunderbird starts, and
        every 30 minutes after that, but there's no control it. The
        preference still exists.</p>
    </blockquote>
    <p><br>
    </p>
    <p>Could you tell me what happens at the initial sync? Other sync
      addons have often assumed at initial sync that one of the sides -
      e.g. the server -  is authoritative, and have in fact deleted my
      local address book, or certain entries that are available only in
      Thunderbird. Do you do a full 2-way sync, even at initial sync?</p>
    <p>How are conflicts resolved? Here are some scenarios:</p>
    <ul>
      <li>Same name, different phone numbers on each side -> either
        add both numbers on both sides (risky, because one of them might
        be old and outdated), or ask user (but how would the user know
        which number or side is correct or the most recent?)<br>
      </li>
      <li>Same name, same phone number, but one of the sides has an
        additional field, like a street address or personal notes or an
        AIM nickname -> add the missing field to the other side,
        without asking, or only asking once for all contacts</li>
      <li>Similar name (E.g. "Eric" vs. "Eric Food"), same phone number
        -> ask whether to merge, while showing all fields of both
        sides. Remember the users response, and do not ask again at next
        sync.<br>
      </li>
      <li>Same last name, different first name, same fixed line number,
        different cell phone numbers -> do not merge, or ask (see
        previous point)<br>
      </li>
    </ul>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:54604844-b7aa-a832-ef7d-0927b90a8cc7@thunderbird.net"> <b>Where
        do I report bugs?</b><br>
      <p> Please use the <a
href="https://bugzilla.mozilla.org/enter_bug.cgi?product=MailNews+Core&component=Address+Book"
          moz-do-not-send="true">Mailnews Core – Address Book</a>
        component to report bugs, unless the bug is in the UI, in which
        case use <a
href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Thunderbird&component=Address+Book"
          moz-do-not-send="true">Thunderbird – Address Book</a>. Please
        provide as much information as you can, including the version of
        Thunderbird you see the problem in, any applicable error
        messages, and if it's relevant, the server software you're
        connecting to.</p>
      <p>The Network Inspector tool (Tools – Developer Tools – Developer
        Toolbox, then choose Network) is very useful for debugging
        problems. If the server reports an error message and Thunderbird
        fails to handle it appropriately, please file a bug.</p>
    </blockquote>
    <p><br>
    </p>
    <p>Great suggestions. I hope that the bug reports contain such
      useful information.</p>
    <br>
  </body>
</html>