mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed bug.
Set friend in onion as offline when friend goes offline.
This commit is contained in:
parent
895f269285
commit
a4f0b65ad7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user