mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge pull request #436 from Alek900/master
Send our current status and name to friend that just came online.
This commit is contained in:
commit
139d915482
|
@ -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…
Reference in New Issue
Block a user