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/New_GPG/src/utilities.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/New_GPG/src') diff --git a/plugins/New_GPG/src/utilities.cpp b/plugins/New_GPG/src/utilities.cpp index 7f6346f6ed..f6466f89b6 100644 --- a/plugins/New_GPG/src/utilities.cpp +++ b/plugins/New_GPG/src/utilities.cpp @@ -969,7 +969,7 @@ void ExportGpGKeysFunc(int type) if (key.IsEmpty()) continue; - ptrW wszLogin(Contact_GetInfo(CNF_UNIQUEID, 0, Proto_GetBaseAccountName(hContact))), wszContact(Contact_GetInfo(CNF_UNIQUEID, hContact)); + ptrW wszLogin(Contact::GetInfo(CNF_UNIQUEID, 0, Proto_GetBaseAccountName(hContact))), wszContact(Contact::GetInfo(CNF_UNIQUEID, hContact)); if (wszLogin == nullptr || wszContact == nullptr) continue; @@ -1058,7 +1058,7 @@ INT_PTR ImportGpGKeys(WPARAM, LPARAM) PROTOACCOUNT *pFoundAcc = nullptr; for (auto &pa : Accounts()) { - ptrW wszUniqueId(Contact_GetInfo(CNF_UNIQUEID, 0, pa->szModuleName)); + ptrW wszUniqueId(Contact::GetInfo(CNF_UNIQUEID, 0, pa->szModuleName)); if (wszUniqueId == nullptr) continue; @@ -1072,7 +1072,7 @@ INT_PTR ImportGpGKeys(WPARAM, LPARAM) continue; for (auto &hContact : Contacts(pFoundAcc->szModuleName)) { - ptrW wszUniqueId(Contact_GetInfo(CNF_UNIQUEID, hContact, pFoundAcc->szModuleName)); + ptrW wszUniqueId(Contact::GetInfo(CNF_UNIQUEID, hContact, pFoundAcc->szModuleName)); if (wszUniqueId == nullptr) continue; -- cgit v1.2.3