summaryrefslogtreecommitdiff
path: root/protocols/CloudFile/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-05-20 15:50:33 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-05-20 15:50:33 +0300
commit3c5d3ae10e5760494d531fe94be20ad6acb438fd (patch)
treec15cc7e5645f924e63360de49dc7bacaf4c4fc72 /protocols/CloudFile/src/utils.cpp
parentf3dcd4dbc572a8402dece8f77d7cfc6519faef28 (diff)
minor code speed up
Diffstat (limited to 'protocols/CloudFile/src/utils.cpp')
-rw-r--r--protocols/CloudFile/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/CloudFile/src/utils.cpp b/protocols/CloudFile/src/utils.cpp
index 90832cb861..2e917ce0c9 100644
--- a/protocols/CloudFile/src/utils.cpp
+++ b/protocols/CloudFile/src/utils.cpp
@@ -56,7 +56,7 @@ bool CanSendToContact(MCONTACT hContact)
if (!isProtoOnline)
return false;
- bool isContactOnline = Contact::GetStatus(hContact) > ID_STATUS_OFFLINE;
+ bool isContactOnline = Contact::GetStatus(hContact, proto) > ID_STATUS_OFFLINE;
if (isContactOnline)
return true;