summaryrefslogtreecommitdiff
path: root/plugins/ContactsPlus/src/send.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ContactsPlus/src/send.cpp')
-rw-r--r--plugins/ContactsPlus/src/send.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/ContactsPlus/src/send.cpp b/plugins/ContactsPlus/src/send.cpp
index 71e44df0b2..c082aca4b7 100644
--- a/plugins/ContactsPlus/src/send.cpp
+++ b/plugins/ContactsPlus/src/send.cpp
@@ -133,7 +133,7 @@ int TSendContactsData::SendContactsPacket(HWND hwndDlg, MCONTACT *phContacts, in
int TSendContactsData::SendContacts(HWND hwndDlg)
{
- char *szProto = GetContactProto(hContact);
+ char *szProto = Proto_GetBaseAccountName(hContact);
int nMaxContacts = CallProtoService(szProto, PS_GETCAPS, PFLAG_MAXCONTACTSPERPACKET, hContact);
if (!nMaxContacts) {
@@ -196,7 +196,7 @@ static void SetAllContactChecks(HWND hwndList, MCONTACT hReceiver) // doubtful n
return;
binListEvent = TRUE;
- char *szProto = GetContactProto(hReceiver);
+ char *szProto = Proto_GetBaseAccountName(hReceiver);
if (szProto == nullptr)
return;
@@ -207,7 +207,7 @@ static void SetAllContactChecks(HWND hwndList, MCONTACT hReceiver) // doubtful n
MCONTACT hItem, hContact = FindFirstClistContact(hwndList, &hItem);
while (hContact) {
- char* szProto2 = GetContactProto(hContact);
+ char* szProto2 = Proto_GetBaseAccountName(hContact);
// different protocols or protocol undefined, remove contact, useless anyway
if (strcmpnull(szProto, szProto2))
@@ -399,7 +399,7 @@ INT_PTR CALLBACK SendDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara
}
DBEVENTINFO dbei = {};
- dbei.szModule = GetContactProto(ackData->hContact);
+ dbei.szModule = Proto_GetBaseAccountName(ackData->hContact);
dbei.eventType = EVENTTYPE_CONTACTS;
dbei.flags = DBEF_SENT | DBEF_UTF;
dbei.timestamp = time(0);