summaryrefslogtreecommitdiff
path: root/protocols/CloudFile/src/utils.cpp
diff options
context:
space:
mode:
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;