summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_network.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-02-17 06:43:34 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-02-17 06:43:34 +0000
commit697c3a9ab13f212655a713c60e2be895b02334da (patch)
treec53edb23cb360855c178189ca30a9c5b3e9a1462 /protocols/Tox/src/tox_network.cpp
parent1016c8797411060d61304a40f506457966ff35b3 (diff)
Tox:
- fixed (strange hack) profile loading - reverted frend list loading on login git-svn-id: http://svn.miranda-ng.org/main/trunk@12157 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_network.cpp')
-rw-r--r--protocols/Tox/src/tox_network.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_network.cpp b/protocols/Tox/src/tox_network.cpp
index 7d3eb4c5a2..71ec195ccb 100644
--- a/protocols/Tox/src/tox_network.cpp
+++ b/protocols/Tox/src/tox_network.cpp
@@ -48,6 +48,9 @@ void CToxProto::TryConnect()
{
isConnected = true;
debugLogA("CToxProto::PollingThread: successfuly connected to DHT");
+
+ ForkThread(&CToxProto::LoadFriendList, NULL);
+
m_iStatus = m_iDesiredStatus;
ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)ID_STATUS_CONNECTING, m_iStatus);
tox_set_user_status(tox, MirandaToToxStatus(m_iStatus));