Updated to new tox API. Fixed profile loading.
This commit is contained in:
parent
ed96d36711
commit
b376432f04
9 changed files with 248 additions and 216 deletions
|
@ -67,7 +67,7 @@ twc_friend_request_add(struct t_twc_profile *profile,
|
|||
void
|
||||
twc_friend_request_accept(struct t_twc_friend_request *request)
|
||||
{
|
||||
tox_add_friend_norequest(request->profile->tox, request->tox_id);
|
||||
tox_friend_add_norequest(request->profile->tox, request->tox_id, NULL); //do error handling
|
||||
twc_friend_request_remove(request);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue