diff options
author | aunsane <aunsane@gmail.com> | 2017-02-27 23:10:47 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-02-27 23:10:47 +0300 |
commit | b922ab20f55561daa472eb211ee50030fcfd0e67 (patch) | |
tree | 90547c62ce1a755768453287cd8657f62448e99e /protocols | |
parent | 01b90e89e84ceea63fd9351c05972a797af698df (diff) |
Tox: attempt to fix for #720
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Tox/src/tox_contacts.cpp | 2 |
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");
|