diff options
author | George Hazan <george.hazan@gmail.com> | 2025-05-20 15:50:33 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2025-05-20 15:50:33 +0300 |
commit | 3c5d3ae10e5760494d531fe94be20ad6acb438fd (patch) | |
tree | c15cc7e5645f924e63360de49dc7bacaf4c4fc72 /protocols/CloudFile/src/utils.cpp | |
parent | f3dcd4dbc572a8402dece8f77d7cfc6519faef28 (diff) |
minor code speed up
Diffstat (limited to 'protocols/CloudFile/src/utils.cpp')
-rw-r--r-- | protocols/CloudFile/src/utils.cpp | 2 |
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; |