Fixed group chat joining.
This commit is contained in:
parent
4d852487b2
commit
06ca342213
4 changed files with 18 additions and 10 deletions
|
@ -250,7 +250,8 @@ twc_group_invite_callback(Tox *tox,
|
|||
{
|
||||
struct t_twc_profile *profile = data;
|
||||
|
||||
int64_t rc = twc_group_chat_invite_add(profile, friend_number, invite_data, length);
|
||||
int64_t rc = twc_group_chat_invite_add(profile, friend_number,
|
||||
(uint8_t *)invite_data, length);
|
||||
|
||||
char *friend_name = twc_get_name_nt(profile->tox, friend_number);
|
||||
weechat_printf(profile->buffer,
|
||||
|
@ -259,7 +260,6 @@ twc_group_invite_callback(Tox *tox,
|
|||
weechat_prefix("network"),
|
||||
friend_name, rc);
|
||||
|
||||
|
||||
free(friend_name);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue