diff --git a/src/main.c b/src/main.c index a9d2b27..f26e02c 100644 --- a/src/main.c +++ b/src/main.c @@ -113,7 +113,7 @@ static Tox *init_tox(int ipv4) tox_callback_name_change(m, on_nickchange, NULL); tox_callback_user_status(m, on_statuschange, NULL); tox_callback_status_message(m, on_statusmessagechange, NULL); - tox_callback_action(m, on_action, NULL); + tox_callback_friend_action(m, on_action, NULL); tox_callback_group_invite(m, on_groupinvite, NULL); tox_callback_group_message(m, on_groupmessage, NULL); tox_callback_group_namelist_change(m, on_group_namelistchange, NULL);