diff options
Diffstat (limited to 'toxcore/Messenger.c')
-rw-r--r-- | toxcore/Messenger.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c index 3bc9f211..2f270fb6 100644 --- a/toxcore/Messenger.c +++ b/toxcore/Messenger.c | |||
@@ -683,6 +683,8 @@ static void check_friend_connectionstatus(Messenger *m, int friendnumber, uint8_ | |||
683 | const uint8_t was_online = m->friendlist[friendnumber].status == FRIEND_ONLINE; | 683 | const uint8_t was_online = m->friendlist[friendnumber].status == FRIEND_ONLINE; |
684 | const uint8_t is_online = status == FRIEND_ONLINE; | 684 | const uint8_t is_online = status == FRIEND_ONLINE; |
685 | 685 | ||
686 | onion_set_friend_online(m->onion_c, m->friendlist[friendnumber].onion_friendnum, is_online); | ||
687 | |||
686 | if (is_online != was_online) { | 688 | if (is_online != was_online) { |
687 | if (was_online) | 689 | if (was_online) |
688 | break_files(m, friendnumber); | 690 | break_files(m, friendnumber); |