summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_account.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-08-29 22:11:08 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-08-29 22:11:08 +0000
commitbeaf93e92827b7bcc77c9f6b2a0c7097d355151c (patch)
tree0cc6549ce3f4073a261cdd10e3eed761fc3c4648 /protocols/Tox/src/tox_account.cpp
parentd8e0b2d36e1944ab747012ed7ba4612f0da48854 (diff)
Tox: added files receiving
git-svn-id: http://svn.miranda-ng.org/main/trunk@10339 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_account.cpp')
-rw-r--r--protocols/Tox/src/tox_account.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_account.cpp b/protocols/Tox/src/tox_account.cpp
index 7ab6038480..886bf70f7b 100644
--- a/protocols/Tox/src/tox_account.cpp
+++ b/protocols/Tox/src/tox_account.cpp
@@ -35,6 +35,8 @@ void CToxProto::InitToxCore()
tox_callback_read_receipt(tox, OnReadReceipt, this);
tox_callback_connection_status(tox, OnConnectionStatusChanged, this);
tox_callback_file_control(tox, OnFileRequest, this);
+ tox_callback_file_send_request(tox, OnFriendFile, this);
+ tox_callback_file_data(tox, OnFileData, this);
LoadToxData();