From 3c5d3ae10e5760494d531fe94be20ad6acb438fd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 20 May 2025 15:50:33 +0300 Subject: minor code speed up --- protocols/CloudFile/src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/CloudFile/src/utils.cpp') 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; -- cgit v1.2.3