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 50f4851b..2772d6d0 100644 --- a/toxcore/Messenger.c +++ b/toxcore/Messenger.c | |||
@@ -2140,6 +2140,8 @@ void do_inbound(Messenger *m) | |||
2140 | accept_crypto_inbound(m->net_crypto, inconnection, public_key, secret_nonce, session_key); | 2140 | accept_crypto_inbound(m->net_crypto, inconnection, public_key, secret_nonce, session_key); |
2141 | 2141 | ||
2142 | set_friend_status(m, friend_id, FRIEND_CONFIRMED); | 2142 | set_friend_status(m, friend_id, FRIEND_CONFIRMED); |
2143 | } else { | ||
2144 | kill_connection(m->net_crypto->lossless_udp, inconnection); | ||
2143 | } | 2145 | } |
2144 | } | 2146 | } |
2145 | } | 2147 | } |