From 500dd4848842f6d4207584417448586d060fbd6a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 31 Jul 2022 18:07:27 +0300 Subject: Contact: group of functions gathered into the personal namespace --- plugins/PasteIt/src/PasteIt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/PasteIt/src') diff --git a/plugins/PasteIt/src/PasteIt.cpp b/plugins/PasteIt/src/PasteIt.cpp index 80398f6911..b7fb63df7d 100644 --- a/plugins/PasteIt/src/PasteIt.cpp +++ b/plugins/PasteIt/src/PasteIt.cpp @@ -109,7 +109,7 @@ static void PasteIt(MCONTACT hContact, int mode) else if (hContact != NULL && pasteToWeb->szFileLink[0] != 0) { char *szProto = Proto_GetBaseAccountName(hContact); if (szProto && (INT_PTR)szProto != CALLSERVICE_NOTFOUND) { - bool isChat = Contact_IsGroupChat(hContact, szProto); + bool isChat = Contact::IsGroupChat(hContact, szProto); if (Options::instance->autoSend) { if (!isChat) { DBEVENTINFO dbei = {}; @@ -323,7 +323,7 @@ static int WindowEvent(WPARAM, MessageWindowEventData* lParam) if (lParam->uType == MSG_WINDOW_EVT_OPEN) { char *szProto = Proto_GetBaseAccountName(lParam->hContact); if (szProto && (INT_PTR)szProto != CALLSERVICE_NOTFOUND) { - if (Contact_IsGroupChat(lParam->hContact, szProto)) { + if (Contact::IsGroupChat(lParam->hContact, szProto)) { (*contactWindows)[lParam->hContact] = lParam->hwndInput; } } -- cgit v1.2.3