diff options
Diffstat (limited to 'toxcore')
-rw-r--r-- | toxcore/onion_client.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/toxcore/onion_client.c b/toxcore/onion_client.c index f0f8fa70..97ef3b84 100644 --- a/toxcore/onion_client.c +++ b/toxcore/onion_client.c | |||
@@ -703,9 +703,11 @@ int onion_set_friend_online(Onion_Client *onion_c, int friend_num, uint8_t is_on | |||
703 | return -1; | 703 | return -1; |
704 | 704 | ||
705 | onion_c->friends_list[friend_num].is_online = is_online; | 705 | onion_c->friends_list[friend_num].is_online = is_online; |
706 | /* Should we reset the no_replay when the other goes offline? | 706 | |
707 | /* This should prevent some clock related issues */ | ||
707 | if (!is_online) | 708 | if (!is_online) |
708 | onion_c->friends_list[friend_num].last_noreplay = 0; */ | 709 | onion_c->friends_list[friend_num].last_noreplay = 0; |
710 | |||
709 | return 0; | 711 | return 0; |
710 | } | 712 | } |
711 | 713 | ||