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/BasicHistory/src/EventList.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/BasicHistory/src') diff --git a/plugins/BasicHistory/src/EventList.cpp b/plugins/BasicHistory/src/EventList.cpp index a891e88976..9fbdecec16 100644 --- a/plugins/BasicHistory/src/EventList.cpp +++ b/plugins/BasicHistory/src/EventList.cpp @@ -393,7 +393,7 @@ std::wstring HistoryEventList::GetContactName() std::wstring HistoryEventList::GetMyName() { - ptrW name(Contact_GetInfo(CNF_DISPLAY, NULL, Proto_GetBaseAccountName(m_hContact))); + ptrW name(Contact::GetInfo(CNF_DISPLAY, NULL, Proto_GetBaseAccountName(m_hContact))); return (name == NULL) ? TranslateT("Me") : name; } @@ -426,13 +426,13 @@ std::string HistoryEventList::GetBaseProtocol() std::wstring HistoryEventList::GetMyId() { - ptrW id(Contact_GetInfo(CNF_DISPLAYUID, NULL, Proto_GetBaseAccountName(m_hContact))); + ptrW id(Contact::GetInfo(CNF_DISPLAYUID, NULL, Proto_GetBaseAccountName(m_hContact))); return (id == NULL) ? L"" : id; } inline std::wstring GetContactId(MCONTACT hContact) { - ptrW id(Contact_GetInfo(CNF_DISPLAYUID, hContact)); + ptrW id(Contact::GetInfo(CNF_DISPLAYUID, hContact)); return (id == NULL) ? L"" : id; } -- cgit v1.2.3