summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_contacts.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-08-16 16:02:58 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-08-16 16:02:58 +0000
commit2e93497d5b19b4fc46f84cb18267bce357e48747 (patch)
tree32682bcd95fa505aec3e8cf16023e8babfb07829 /protocols/Tox/src/tox_contacts.cpp
parent5cbde68cad776dd10e36b72f030712abdf3f225a (diff)
Tox:
- added netlib logging - minor fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@10203 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_contacts.cpp')
-rw-r--r--protocols/Tox/src/tox_contacts.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/protocols/Tox/src/tox_contacts.cpp b/protocols/Tox/src/tox_contacts.cpp
index 6cf642cca6..4bad40f78e 100644
--- a/protocols/Tox/src/tox_contacts.cpp
+++ b/protocols/Tox/src/tox_contacts.cpp
@@ -77,7 +77,7 @@ MCONTACT CToxProto::AddContact(const char *clientId, bool isTemporary)
setString(hContact, TOX_SETTINGS_ID, clientId);
DBVARIANT dbv;
- if (!getTString(TOX_SETTINGS_DEFAULT_GROUP, &dbv))
+ if (!getTString(TOX_SETTINGS_GROUP, &dbv))
{
db_set_ts(hContact, "CList", "Group", dbv.ptszVal);
db_free(&dbv);
@@ -107,11 +107,9 @@ void CToxProto::LoadContactList()
tox_get_name(tox, friends[i], &username[0]);
std::string nick(username.begin(), username.end());
setString(hContact, "Nick", nick.c_str());
-
- /*uint8_t userstatus = tox_get_user_status(tox, friends[i]);
- int status = ToxToMirandaStatus((TOX_USERSTATUS)userstatus);
- SetContactStatus(hContact, status);*/
}
+
+ //tox_get_last_online
}
}
} \ No newline at end of file