Skip to content
Snippets Groups Projects
Commit 81d544d6 authored by Sébastien Blin's avatar Sébastien Blin Committed by Amin Bandali
Browse files

Update 2.2. Manage contacts

Change-Id: I795d2805104c6641ed14b1c96d2b2dec9820b844
parent a11d0495
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ This section will present how to find and add a contact from the DHT to the clie
## Announce the presence on the DHT
The presence is pretty simple to announce on the DHT. In fact, it's just a value containing the device hash (see [previous section](https://git.ring.cx/savoirfairelinux/ring-project/wikis/technical/2.1.-Manage-Accounts)) on the hash corresponding to the Ring ID. So, if we have the account `bf5f1e21d3eb2c1246946aa49d5dcf3e5b9cb1b9` with the device `62fbdff0ce86f368c7d3c2682539e5ba9e06404f`, the following defined value will be sent over the DHT:
The presence is pretty simple to announce on the DHT. In fact, it's just a value containing the device hash (see [previous section](https://git.ring.cx/savoirfairelinux/ring-project/wikis/technical/2.1.-Manage-Accounts)) on the hash corresponding to the fingerprint of the key. So, if we have the account `bf5f1e21d3eb2c1246946aa49d5dcf3e5b9cb1b9` with the device `62fbdff0ce86f368c7d3c2682539e5ba9e06404f`, the following defined value will be sent over the DHT:
```cpp
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment