summaryrefslogtreecommitdiff
path: root/protocols/CloudFile
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-07-31 18:07:27 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-07-31 18:07:27 +0300
commit500dd4848842f6d4207584417448586d060fbd6a (patch)
tree569ac641e814da1d706d36b12eaf35183a3ce7a5 /protocols/CloudFile
parentb47e4b4b32698470bf52c0dc1c2d1af56c46c9b5 (diff)
Contact: group of functions gathered into the personal namespace
Diffstat (limited to 'protocols/CloudFile')
-rw-r--r--protocols/CloudFile/src/utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/CloudFile/src/utils.cpp b/protocols/CloudFile/src/utils.cpp
index 76d11dada8..bbdc7a8a46 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) > ID_STATUS_OFFLINE;
if (isContactOnline)
return true;
@@ -66,7 +66,7 @@ bool CanSendToContact(MCONTACT hContact)
void SendToContact(MCONTACT hContact, const wchar_t *data)
{
const char *szProto = Proto_GetBaseAccountName(hContact);
- if (Contact_IsGroupChat(hContact, szProto)) {
+ if (Contact::IsGroupChat(hContact, szProto)) {
ptrW tszChatRoom(db_get_wsa(hContact, szProto, "ChatRoomID"));
Chat_SendUserMessage(szProto, tszChatRoom, data);
return;