summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_proto.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-08-20 18:08:33 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-08-20 18:08:33 +0000
commit8c4e9632602b62e7484fab3a741bbc1daa33c412 (patch)
tree790981216251ae76f88725c7e01c2a5f3661f029 /protocols/Tox/src/tox_proto.cpp
parent65939a1b4d4ab134b3d040c70eb47f11d509a5f6 (diff)
Tox: - added own Tox ID in options dialog
git-svn-id: http://svn.miranda-ng.org/main/trunk@10243 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_proto.cpp')
-rw-r--r--protocols/Tox/src/tox_proto.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/protocols/Tox/src/tox_proto.cpp b/protocols/Tox/src/tox_proto.cpp
index ceee2bb544..1f618a5b58 100644
--- a/protocols/Tox/src/tox_proto.cpp
+++ b/protocols/Tox/src/tox_proto.cpp
@@ -151,13 +151,7 @@ int __cdecl CToxProto::RecvFile(MCONTACT hContact, PROTOFILEEVENT*) { return 0;
int __cdecl CToxProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT *pre)
{
- return (INT_PTR)AddDbEvent(
- hContact,
- EVENTTYPE_MESSAGE,
- pre->timestamp,
- DBEF_UTF,
- lstrlenA(pre->szMessage),
- (BYTE*)pre->szMessage);
+ return Proto_RecvMessage(hContact, pre);
}
int __cdecl CToxProto::RecvUrl(MCONTACT hContact, PROTORECVEVENT*) { return 0; }