From 24f24315fc9da6e69698e92c76d778555461d77e Mon Sep 17 00:00:00 2001 From: sin Date: Mon, 15 Sep 2014 12:25:00 +0100 Subject: Don't set a fixed name at init time tox_load() handles that and gives us our last nickname. --- ratatox.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'ratatox.c') diff --git a/ratatox.c b/ratatox.c index 6d7614f..f23691d 100644 --- a/ratatox.c +++ b/ratatox.c @@ -449,8 +449,6 @@ toxinit(void) tox_callback_friend_request(tox, cb_friend_request, NULL); tox_callback_name_change(tox, cb_name_change, NULL); tox_callback_status_message(tox, cb_status_message, NULL); - tox_set_name(tox, "ratatox", strlen("ratatox")); - tox_set_user_status(tox, TOX_USERSTATUS_NONE); tox_get_address(tox, address); printf("ID: "); -- cgit v1.2.3