mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Send our current status and name to friend that just came online.
Our username and status might have changed while our friend was offline.
This commit is contained in:
parent
b5d6c22b7b
commit
ed3b036862
@ -571,6 +571,9 @@ static void doFriends(void)
|
||||
break;
|
||||
case 3: /* Connection is established */
|
||||
set_friend_status(i, FRIEND_ONLINE);
|
||||
friendlist[i].name_sent = 0;
|
||||
friendlist[i].userstatus_sent = 0;
|
||||
friendlist[i].statusmessage_sent = 0;
|
||||
break;
|
||||
case 4:
|
||||
crypto_kill(friendlist[i].crypt_connection_id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user