diff options
Diffstat (limited to 'protocols/Tox')
-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");
|