summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_proto.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-09-12 19:42:43 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-09-12 19:42:43 +0000
commitfe1e8456d2488095f409a4f2d38b7251abdedccf (patch)
tree62c536f44e9e5479fb8091a33b402625fd6575fa /protocols/Tox/src/tox_proto.cpp
parent6dcd48bb36dd02efe4e1d2eba93c7a095254404f (diff)
Tox: attempt to fix addind a buddy using Toxme.io
git-svn-id: http://svn.miranda-ng.org/main/trunk@17290 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_proto.cpp')
-rw-r--r--protocols/Tox/src/tox_proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_proto.cpp b/protocols/Tox/src/tox_proto.cpp
index 9ae714bd31..d249a59a86 100644
--- a/protocols/Tox/src/tox_proto.cpp
+++ b/protocols/Tox/src/tox_proto.cpp
@@ -73,7 +73,7 @@ MCONTACT CToxProto::AddToList(int flags, PROTOSEARCHRESULT *psr)
ShowNotification(TranslateT("Contact already in your contact list"), 0, hContact);
return NULL;
}
- return AddContact(psr->id.a, psr->nick.a, psr->email.a, flags & PALF_TEMPORARY);
+ return AddContact(T2Utf(psr->id.w), T2Utf(psr->nick.w), T2Utf(psr->email.w), flags & PALF_TEMPORARY);
}
int CToxProto::Authorize(MEVENT hDbEvent)