summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_account.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-08-11 18:47:10 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-08-11 18:47:10 +0000
commit9f7023fdefc4bbdc888c8bb208bc79bbaa8df225 (patch)
tree30a29895f906c96f62349e17adf17a58ae004ff4 /protocols/Tox/src/tox_account.cpp
parentf1e6c9b63fc90e6fbbcfcef52912ad0fda768302 (diff)
Tox: added friend list loading
git-svn-id: http://svn.miranda-ng.org/main/trunk@10157 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_account.cpp')
-rw-r--r--protocols/Tox/src/tox_account.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_account.cpp b/protocols/Tox/src/tox_account.cpp
index 33b1f4a8ed..59edd4ec52 100644
--- a/protocols/Tox/src/tox_account.cpp
+++ b/protocols/Tox/src/tox_account.cpp
@@ -48,7 +48,9 @@ void CToxProto::ConnectionThread(void*)
if (tox_isconnected(tox))
{
isConnected = true;
-
+
+ LoadContactList();
+
m_iStatus = m_iDesiredStatus = ID_STATUS_ONLINE;
ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)ID_STATUS_CONNECTING, m_iStatus);