From d788cb0a769541997b154736ab7682d3f7cbfe8e Mon Sep 17 00:00:00 2001 From: aunsane Date: Sat, 30 Sep 2017 18:37:39 +0300 Subject: Tox: fixed #953 --- protocols/Tox/src/tox_bootstrap.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'protocols') 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) { -- cgit v1.2.3