From 3bb087726db613aad9c1e61332fda7300600f60c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 6 Sep 2016 16:15:19 +0000 Subject: clist services' extermination continued git-svn-id: http://svn.miranda-ng.org/main/trunk@17265 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ContactsPlus/src/receive.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'plugins/ContactsPlus') diff --git a/plugins/ContactsPlus/src/receive.cpp b/plugins/ContactsPlus/src/receive.cpp index 34fa0291a9..bcf588b6a7 100644 --- a/plugins/ContactsPlus/src/receive.cpp +++ b/plugins/ContactsPlus/src/receive.cpp @@ -318,13 +318,8 @@ INT_PTR CALLBACK RecvDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara if (!mir_wstrcmp(wndData->maReceived[j]->mcaUIN, caUIN)) { char *szProto =GetContactProto(wndData->mhContact); hContact = (MCONTACT)CallProtoService(szProto, PS_ADDTOLISTBYEVENT, MAKEWPARAM(0, j), (LPARAM)wndData->mhDbEvent); - if (hContact && caGroup) { - // use newest group API if available - if (ServiceExists(MS_CLIST_CONTACTCHANGEGROUP)) - CallService(MS_CLIST_CONTACTCHANGEGROUP, hContact, (LPARAM)nGroupId); - else - db_set_ws(hContact, "CList", "Group", caGroup); - } + if (hContact && caGroup) + Clist_ContactChangeGroup(hContact, nGroupId); break; } mir_free(caUIN); -- cgit v1.2.3