Fixed bug.

This commit is contained in:
irungentoo 2015-02-25 19:50:18 -05:00
parent d83efd35dd
commit 837d4698bb
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -603,7 +603,7 @@ bool tox_friend_get_name(const Tox *tox, uint32_t friend_number, uint8_t *name,
void tox_callback_friend_name(Tox *tox, tox_friend_name_cb *function, void *user_data) void tox_callback_friend_name(Tox *tox, tox_friend_name_cb *function, void *user_data)
{ {
Messenger *m = tox; Messenger *m = tox;
m_callback_friendmessage(m, function, user_data); m_callback_namechange(m, function, user_data);
} }
size_t tox_friend_get_status_message_size(const Tox *tox, uint32_t friend_number, TOX_ERR_FRIEND_QUERY *error) size_t tox_friend_get_status_message_size(const Tox *tox, uint32_t friend_number, TOX_ERR_FRIEND_QUERY *error)