diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-08-11 18:47:10 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-08-11 18:47:10 +0000 |
commit | 9f7023fdefc4bbdc888c8bb208bc79bbaa8df225 (patch) | |
tree | 30a29895f906c96f62349e17adf17a58ae004ff4 /protocols/Tox/src/tox_proto.cpp | |
parent | f1e6c9b63fc90e6fbbcfcef52912ad0fda768302 (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.cpp | 6 |
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;
}
|