diff options
-rw-r--r-- | protocols/Tox/src/tox_bootstrap.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_bootstrap.cpp b/protocols/Tox/src/tox_bootstrap.cpp index 49ae5da94b..6617044e73 100644 --- a/protocols/Tox/src/tox_bootstrap.cpp +++ b/protocols/Tox/src/tox_bootstrap.cpp @@ -111,6 +111,7 @@ void CToxProto::BootstrapNodesFromJson(Tox *tox, bool isIPv6) void CToxProto::BootstrapNodes(Tox *tox) { + UpdateNodes(); debugLogA(__FUNCTION__": bootstraping DHT"); // bool isUdp = getBool("EnableUDP", 1); bool isIPv6 = getBool("EnableIPv6", 0); @@ -120,6 +121,7 @@ void CToxProto::BootstrapNodes(Tox *tox) void CToxProto::UpdateNodes() { + debugLogA(__FUNCTION__": updating nodes"); HttpRequest request(REQUEST_GET, "https://nodes.tox.chat/json"); NLHR_PTR response(request.Send(m_hNetlibUser)); if (!response || response->resultCode != HTTP_CODE_OK || !response->pData) { |