From 9f7023fdefc4bbdc888c8bb208bc79bbaa8df225 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Mon, 11 Aug 2014 18:47:10 +0000 Subject: Tox: added friend list loading git-svn-id: http://svn.miranda-ng.org/main/trunk@10157 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_proto.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Tox/src/tox_proto.cpp') 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; } -- cgit v1.2.3