summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/utilities.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-07-31 18:07:27 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-07-31 18:07:27 +0300
commit500dd4848842f6d4207584417448586d060fbd6a (patch)
tree569ac641e814da1d706d36b12eaf35183a3ce7a5 /plugins/New_GPG/src/utilities.cpp
parentb47e4b4b32698470bf52c0dc1c2d1af56c46c9b5 (diff)
Contact: group of functions gathered into the personal namespace
Diffstat (limited to 'plugins/New_GPG/src/utilities.cpp')
-rw-r--r--plugins/New_GPG/src/utilities.cpp6
1 files changed, 3 insertions, 3 deletions
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;