mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Friend status is now set right before calling the tox_callback_user_status callback.
This commit is contained in:
parent
2a719f3168
commit
0239f79f23
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user