diff options
Diffstat (limited to 'testing/nTox.c')
-rw-r--r-- | testing/nTox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/nTox.c b/testing/nTox.c index edda43b1..b33b1fd3 100644 --- a/testing/nTox.c +++ b/testing/nTox.c | |||
@@ -1001,11 +1001,11 @@ void print_help(char *prog_name) | |||
1001 | puts(" -f keyfile [Optional] Specify a keyfile to read from and write to."); | 1001 | puts(" -f keyfile [Optional] Specify a keyfile to read from and write to."); |
1002 | } | 1002 | } |
1003 | 1003 | ||
1004 | void print_invite(Tox *m, int friendnumber, const uint8_t *group_public_key, void *userdata) | 1004 | void print_invite(Tox *m, int friendnumber, const uint8_t *data, uint16_t length, void *userdata) |
1005 | { | 1005 | { |
1006 | char msg[256]; | 1006 | char msg[256]; |
1007 | sprintf(msg, "[i] received group chat invite from: %u, auto accepting and joining. group number: %u", friendnumber, | 1007 | sprintf(msg, "[i] received group chat invite from: %u, auto accepting and joining. group number: %u", friendnumber, |
1008 | tox_join_groupchat(m, friendnumber, group_public_key)); | 1008 | tox_join_groupchat(m, friendnumber, data, length)); |
1009 | new_lines(msg); | 1009 | new_lines(msg); |
1010 | } | 1010 | } |
1011 | 1011 | ||