summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_core.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-02-22 21:14:05 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-02-22 21:14:05 +0000
commit4ffd0909f7990643a0253849d46a750bd9f3233b (patch)
treea0a004674fcd9ad0600f7c1ae5728bea499f9db0 /protocols/Tox/src/tox_core.cpp
parent0e8ffa6f388f28411decbcc6fe6c834029830714 (diff)
Tox: some code for group chats
git-svn-id: http://svn.miranda-ng.org/main/trunk@12241 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_core.cpp')
-rw-r--r--protocols/Tox/src/tox_core.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_core.cpp b/protocols/Tox/src/tox_core.cpp
index cff5d56c0d..ae1d8eec51 100644
--- a/protocols/Tox/src/tox_core.cpp
+++ b/protocols/Tox/src/tox_core.cpp
@@ -63,6 +63,8 @@ bool CToxProto::InitToxCore()
// avatars
tox_callback_avatar_info(tox, OnGotFriendAvatarInfo, this);
tox_callback_avatar_data(tox, OnGotFriendAvatarData, this);
+ // group chats
+ tox_callback_group_invite(tox, OnGroupChatInvite, this);
uint8_t data[TOX_FRIEND_ADDRESS_SIZE];
tox_get_address(tox, data);