Fixed bug.

Set friend in onion as offline when friend goes offline.
This commit is contained in:
irungentoo 2014-12-25 15:10:47 -05:00
parent 895f269285
commit a4f0b65ad7
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -232,6 +232,7 @@ static int handle_status(void *object, int number, uint8_t status)
friend_con->status = FRIENDCONN_STATUS_CONNECTING;
friend_con->crypt_connection_id = -1;
friend_con->dht_ping_lastrecv = unix_time();
onion_set_friend_online(fr_c->onion_c, friend_con->onion_friendnum, status);
}
unsigned int i;