summaryrefslogtreecommitdiff
path: root/core/Messenger.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/Messenger.c')
-rw-r--r--core/Messenger.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/Messenger.c b/core/Messenger.c
index 24797d7a..92c83b9b 100644
--- a/core/Messenger.c
+++ b/core/Messenger.c
@@ -571,6 +571,9 @@ static void doFriends(void)
571 break; 571 break;
572 case 3: /* Connection is established */ 572 case 3: /* Connection is established */
573 set_friend_status(i, FRIEND_ONLINE); 573 set_friend_status(i, FRIEND_ONLINE);
574 friendlist[i].name_sent = 0;
575 friendlist[i].userstatus_sent = 0;
576 friendlist[i].statusmessage_sent = 0;
574 break; 577 break;
575 case 4: 578 case 4:
576 crypto_kill(friendlist[i].crypt_connection_id); 579 crypto_kill(friendlist[i].crypt_connection_id);