From e7b69721b0d390cec3f81f97134a51bfef228cf8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 28 Mar 2018 20:01:30 +0300 Subject: PFLAG_UNIQUEIDSETTING removed, its functionality transferred to Proto_SetUniqueId / Proto_GetUniqueId --- plugins/HistoryPlusPlus/hpp_contacts.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/HistoryPlusPlus') diff --git a/plugins/HistoryPlusPlus/hpp_contacts.pas b/plugins/HistoryPlusPlus/hpp_contacts.pas index 331efce404..58386f658a 100644 --- a/plugins/HistoryPlusPlus/hpp_contacts.pas +++ b/plugins/HistoryPlusPlus/hpp_contacts.pas @@ -129,8 +129,8 @@ begin begin if Proto = '' then Proto := GetContactProto(hContact); - uid := PAnsiChar(CallProtoService(PAnsiChar(Proto), PS_GETCAPS, PFLAG_UNIQUEIDSETTING, 0)); - if (uid <> pAnsiChar(CALLSERVICE_NOTFOUND)) and (uid <> nil) then + uid := Proto_GetUniqueId(PAnsiChar(Proto)); + if uid <> nil then begin if db_get(hContact, PAnsiChar(Proto), uid, @dbv) = 0 then begin -- cgit v1.2.3