From b922ab20f55561daa472eb211ee50030fcfd0e67 Mon Sep 17 00:00:00 2001 From: aunsane Date: Mon, 27 Feb 2017 23:10:47 +0300 Subject: Tox: attempt to fix for #720 --- protocols/Tox/src/tox_contacts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Tox/src/tox_contacts.cpp') diff --git a/protocols/Tox/src/tox_contacts.cpp b/protocols/Tox/src/tox_contacts.cpp index bffa85e193..d24da12812 100644 --- a/protocols/Tox/src/tox_contacts.cpp +++ b/protocols/Tox/src/tox_contacts.cpp @@ -325,7 +325,7 @@ void CToxProto::OnConnectionStatusChanged(Tox*, uint32_t friendNumber, TOX_CONNE return; } - if (proto->GetContactStatus(hContact) > ID_STATUS_OFFLINE) + if (proto->GetContactStatus(hContact) != ID_STATUS_OFFLINE) return; proto->delSetting(hContact, "Auth"); -- cgit v1.2.3