Skip to content
Snippets Groups Projects
Commit 6b25d837 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

jamiaccount: fix startSync race condition.

When receiving a new DeviceAnnoucement the other side will try to get the
device certificate. However we can't be sure that the certificate is on the
DHT. So sync will generally fail the first time.
This patch introduces a new callback to startSync only when the certificate
of the device is present on the DHT.

Change-Id: If2334051b1eea07d5036f50f095e5d64ef3ba660
parent 23422fae
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment