summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_proto.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_proto.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_proto.cpp')
-rw-r--r--protocols/Tox/src/tox_proto.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Tox/src/tox_proto.cpp b/protocols/Tox/src/tox_proto.cpp
index c20d1aa7e4..9413a56e40 100644
--- a/protocols/Tox/src/tox_proto.cpp
+++ b/protocols/Tox/src/tox_proto.cpp
@@ -35,9 +35,9 @@ CToxProto::~CToxProto()
MCONTACT __cdecl CToxProto::AddToList(int flags, PROTOSEARCHRESULT* psr)
{
- MCONTACT hContact = AddContact(psr->id, psr->nick);
+// MCONTACT hContact = AddContact(psr->id, psr->nick);
- return hContact;
+ return NULL;
}
MCONTACT __cdecl CToxProto::AddToListByEvent(int flags, int iContact, HANDLE hDbEvent) { return 0; }
@@ -67,7 +67,7 @@ DWORD_PTR __cdecl CToxProto::GetCaps(int type, MCONTACT hContact)
case PFLAG_UNIQUEIDTEXT:
return (INT_PTR)"Tox ID";
case PFLAG_UNIQUEIDSETTING:
- return (DWORD_PTR)"ToxID";
+ return (DWORD_PTR)TOX_SETTING_ID;
case PFLAG_MAXLENOFMESSAGE:
return TOX_MAX_MESSAGE_LENGTH;
}