From 91d7f4857f3c555f0cc3f13a07a68b40ea6d6a5b Mon Sep 17 00:00:00 2001 From: irungentoo Date: Thu, 12 Sep 2013 19:26:30 -0400 Subject: Very basic group chats, tested and working with nTox. Please wait until the tox.h API is updated before integrating it into your clients. nTox: /g creates a new group chat /i friendnum groupnum invite friendnum to groupnum /z groupnum message send message to groupnum NOTE: group chats currenly might not handle packet loss well if there are less than 6 participants. --- toxcore/group_chats.h | 1 + 1 file changed, 1 insertion(+) (limited to 'toxcore/group_chats.h') diff --git a/toxcore/group_chats.h b/toxcore/group_chats.h index 535b46db..78a5488c 100644 --- a/toxcore/group_chats.h +++ b/toxcore/group_chats.h @@ -77,6 +77,7 @@ void callback_groupmessage(Group_Chat *chat, void (*function)(Group_Chat *chat, /* * Send a message to the group. * + * returns the number of peers it has sent it to. */ uint32_t group_sendmessage(Group_Chat *chat, uint8_t *message, uint32_t length); -- cgit v1.2.3