Updated to new tox API. Fixed profile loading.

This commit is contained in:
Michael Raitza 2015-08-26 16:48:33 +02:00
parent ed96d36711
commit b376432f04
9 changed files with 248 additions and 216 deletions

View file

@ -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);
}