commit 24f24315fc9da6e69698e92c76d778555461d77e
parent d373e89bb878c1d2808bfae7d3ecfbb631e325e6
Author: sin <sin@2f30.org>
Date: Mon, 15 Sep 2014 12:25:00 +0100
Don't set a fixed name at init time
tox_load() handles that and gives us our last nickname.
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git 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: ");