Friend status is now set right before calling the tox_callback_user_status callback.

This commit is contained in:
irungentoo 2014-05-26 13:15:00 -04:00
parent 2a719f3168
commit 0239f79f23
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -857,6 +857,8 @@ static void check_friend_connectionstatus(Messenger *m, int32_t friendnumber, ui
add_online_friend(m, friendnumber);
}
m->friendlist[friendnumber].status = status;
if (m->friend_connectionstatuschange)
m->friend_connectionstatuschange(m, friendnumber, is_online, m->friend_connectionstatuschange_userdata);