summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2017-02-27 23:10:47 +0300
committeraunsane <aunsane@gmail.com>2017-02-27 23:10:47 +0300
commitb922ab20f55561daa472eb211ee50030fcfd0e67 (patch)
tree90547c62ce1a755768453287cd8657f62448e99e
parent01b90e89e84ceea63fd9351c05972a797af698df (diff)
Tox: attempt to fix for #720
-rw-r--r--protocols/Tox/src/tox_contacts.cpp2
1 files changed, 1 insertions, 1 deletions
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");