diff options
Diffstat (limited to 'toxcore/onion_client.c')
-rw-r--r-- | toxcore/onion_client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toxcore/onion_client.c b/toxcore/onion_client.c index be4d12aa..7fab76a7 100644 --- a/toxcore/onion_client.c +++ b/toxcore/onion_client.c | |||
@@ -830,6 +830,7 @@ int onion_set_friend_DHT_pubkey(Onion_Client *onion_c, int friend_num, uint8_t * | |||
830 | return -1; | 830 | return -1; |
831 | } | 831 | } |
832 | 832 | ||
833 | onion_c->friends_list[friend_num].last_seen = unix_time(); | ||
833 | onion_c->friends_list[friend_num].is_fake_clientid = 1; | 834 | onion_c->friends_list[friend_num].is_fake_clientid = 1; |
834 | onion_c->friends_list[friend_num].fake_client_id_timestamp = timestamp; | 835 | onion_c->friends_list[friend_num].fake_client_id_timestamp = timestamp; |
835 | memcpy(onion_c->friends_list[friend_num].fake_client_id, dht_key, crypto_box_PUBLICKEYBYTES); | 836 | memcpy(onion_c->friends_list[friend_num].fake_client_id, dht_key, crypto_box_PUBLICKEYBYTES); |