Merge pull request #436 from Alek900/master

Send our current status and name to friend that just came online.
This commit is contained in:
irungentoo 2013-08-11 14:48:36 -07:00
commit 139d915482

View File

@ -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);